summaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-01-24 14:13:12 +0100
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 11:06:33 +0100
commitcacc0cc83fcc3bc0bc37a11ba9e7624c3aed6e08 (patch)
tree3061bcf645da75456b9b7e2081f1196d1e014317 /arch/cris
parent935a847b98899943ef86628aba54e4837c6c7ff6 (diff)
downloadblackbird-op-linux-cacc0cc83fcc3bc0bc37a11ba9e7624c3aed6e08.tar.gz
blackbird-op-linux-cacc0cc83fcc3bc0bc37a11ba9e7624c3aed6e08.zip
CRIS v32: Change name of LED macros in drivers/mach-a3/gpio.c to avoid collision.
Diffstat (limited to 'arch/cris')
-rw-r--r--arch/cris/arch-v32/drivers/mach-a3/gpio.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/cris/arch-v32/drivers/mach-a3/gpio.c b/arch/cris/arch-v32/drivers/mach-a3/gpio.c
index 4c48065ce78a..30a2b6e526df 100644
--- a/arch/cris/arch-v32/drivers/mach-a3/gpio.c
+++ b/arch/cris/arch-v32/drivers/mach-a3/gpio.c
@@ -788,8 +788,8 @@ gpio_leds_ioctl(unsigned int cmd, unsigned long arg)
case IO_LEDACTIVE_SET:
green = ((unsigned char) arg) & 1;
red = (((unsigned char) arg) >> 1) & 1;
- LED_ACTIVE_SET_G(green);
- LED_ACTIVE_SET_R(red);
+ CRIS_LED_ACTIVE_SET_G(green);
+ CRIS_LED_ACTIVE_SET_R(red);
break;
default:
@@ -957,11 +957,11 @@ gpio_init(void)
}
/* Clear all leds */
- LED_NETWORK_GRP0_SET(0);
- LED_NETWORK_GRP1_SET(0);
- LED_ACTIVE_SET(0);
- LED_DISK_READ(0);
- LED_DISK_WRITE(0);
+ CRIS_LED_NETWORK_GRP0_SET(0);
+ CRIS_LED_NETWORK_GRP1_SET(0);
+ CRIS_LED_ACTIVE_SET(0);
+ CRIS_LED_DISK_READ(0);
+ CRIS_LED_DISK_WRITE(0);
printk(KERN_INFO "ETRAX FS GPIO driver v2.6, (c) 2003-2007 "
"Axis Communications AB\n");
OpenPOWER on IntegriCloud