MIPS: BCM63xx: Avoid namespace clash on GPIO_DIR_{IN,OUT}
This is too generic a name, so prefix it with BCM63XX_ to avoid potential namespace clashes when including <asm/gpio.h>. Signed-off-by: Florian Fainelli <ffainelli@freebox.fr> To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/1171/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
32130ec2da
commit
3e1bf29f73
@@ -20,7 +20,7 @@ static inline unsigned long bcm63xx_gpio_count(void)
|
||||
}
|
||||
}
|
||||
|
||||
#define GPIO_DIR_OUT 0x0
|
||||
#define GPIO_DIR_IN 0x1
|
||||
#define BCM63XX_GPIO_DIR_OUT 0x0
|
||||
#define BCM63XX_GPIO_DIR_IN 0x1
|
||||
|
||||
#endif /* !BCM63XX_GPIO_H */
|
||||
|
Reference in New Issue
Block a user