[PATCH] turn many #if $undefined_string into #ifdef $undefined_string
turn many #if $undefined_string into #ifdef $undefined_string to fix some warnings after -Wno-def was added to global CFLAGS Signed-off-by: Olaf Hering <olh@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
02b775696f
commit
44456d37b5
@@ -129,9 +129,9 @@ bad_clone_list[] __initdata = {
|
||||
#define NESM_START_PG 0x40 /* First page of TX buffer */
|
||||
#define NESM_STOP_PG 0x80 /* Last page +1 of RX ring */
|
||||
|
||||
#ifdef CONFIG_PLAT_MAPPI
|
||||
#if defined(CONFIG_PLAT_MAPPI)
|
||||
# define DCR_VAL 0x4b
|
||||
#elif CONFIG_PLAT_OAKS32R
|
||||
#elif defined(CONFIG_PLAT_OAKS32R)
|
||||
# define DCR_VAL 0x48
|
||||
#else
|
||||
# define DCR_VAL 0x49
|
||||
|
Reference in New Issue
Block a user