diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2017-09-28 20:45:18 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2017-09-29 18:58:06 +0900 |
commit | 1353bc2163f08d5137f7736f501eb106baf74d08 (patch) | |
tree | 726600689e8bc7b3a8147fd90b8066f2e0e9088b | |
parent | 300bac799e19a013e1e03cbd1feb14dbb2da41e2 (diff) | |
download | u-boot-tm1-1353bc2163f08d5137f7736f501eb106baf74d08.tar.gz u-boot-tm1-1353bc2163f08d5137f7736f501eb106baf74d08.tar.bz2 u-boot-tm1-1353bc2163f08d5137f7736f501eb106baf74d08.zip |
arm: sc8830: gpio: remove the redefined macro
Some macros are already defined in other header files.
Remove the redefined macro.
Change-Id: I62b5aa80d057cf5ac32798d796ece59890b6a21e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | arch/arm/cpu/armv7/sc8830/gpio.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/cpu/armv7/sc8830/gpio.c b/arch/arm/cpu/armv7/sc8830/gpio.c index 2c5fe92..3ea3b1e 100644 --- a/arch/arm/cpu/armv7/sc8830/gpio.c +++ b/arch/arm/cpu/armv7/sc8830/gpio.c @@ -19,23 +19,6 @@ #include <asm/arch/asm_generic_gpio.h> #include <asm/arch/chip_drv_common_io.h> -#define KERN_WARNING "" -#define WARN(nmu, fmt...) printf(fmt) -#define WARN_ON(num) -#define BUG_ON(__cond__) if(__cond__) printf("%s line: %d bug on\n", __FUNCTION__, __LINE__) -#define pr_err(fmt...) printf(fmt) -#define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) -#define pr_debug(fmt...) printf(fmt) - -//#define DEBUG - - -#ifdef DEBUG -#define GPIO_DBG(fmt...) pr_debug(fmt) -#else -#define GPIO_DBG(fmt...) -#endif - #ifndef GPO_TRI #define GPO_TRI 0xFFFF #endif @@ -57,7 +40,6 @@ struct gpio_irq_map { int irq_num; }; -#define GPIO_INVALID_ID 0xffff #define INVALID_REG (~(u32)0) //static struct gpio_irq_map gpio_irq_table[NR_GPIO_IRQS]; |