claw: rename READ/WRITE defines to avoid redefinitions
commit319cb083cc3a13a168dea0da00e11e52beb5043f
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 12 Aug 2010 01:58:27 +0000 (12 01:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Aug 2010 23:04:22 +0000 (12 16:04 -0700)
tree71dc868971ea51a65c418c07d2dc8bed70a7718f
parentcba86f2e20a33cd2e6f41bd5e5b23aa2d55c95b8
claw: rename READ/WRITE defines to avoid redefinitions

READ/WRITE seems to be a bit too generic for defines in a device driver.
Just rename them to READ_CHANNEL/WRITE_CHANNEL which should suffice.

Fixes this:

In file included from drivers/s390/net/claw.c:93:
drivers/s390/net/claw.h:78:1: warning: "WRITE" redefined
In file included from /home2/heicarst/linux-2.6/arch/s390/include/asm/debug.h:12,
                 from drivers/s390/net/claw.c:68:
include/linux/fs.h:156:1: warning: this is the location of the previous definition

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/claw.c
drivers/s390/net/claw.h