aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynq
diff options
context:
space:
mode:
authorHeiko Schocher2015-09-07 13:43:52 +0200
committerTom Rini2015-09-11 17:15:32 -0400
commit92a3188d7d836779915e3a6f9251fa07b9c753e4 (patch)
tree38057fbc4a6d77ffabdbc48bc863293f2e89e22d /arch/arm/mach-zynq
parent9d2f6a9ae70d06e4cead539e57f264c980643f53 (diff)
bitops: introduce BIT() definition
introduce BIT() definition, used in at91_udc gadget driver. Signed-off-by: Heiko Schocher <hs@denx.de> [remove all other occurrences of BIT(x) definition] Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Acked-by: Stefan Roese <sr@denx.de> Acked-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/arm/mach-zynq')
-rw-r--r--arch/arm/mach-zynq/include/mach/gpio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-zynq/include/mach/gpio.h b/arch/arm/mach-zynq/include/mach/gpio.h
index 9e1e7da2037..0789c497368 100644
--- a/arch/arm/mach-zynq/include/mach/gpio.h
+++ b/arch/arm/mach-zynq/include/mach/gpio.h
@@ -71,6 +71,4 @@
/* GPIO upper 16 bit mask */
#define ZYNQ_GPIO_UPPER_MASK 0xFFFF0000
-#define BIT(x) (1<<x)
-
#endif /* _ZYNQ_GPIO_H */