diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-05-18 14:47:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-18 16:28:50 -0400 |
commit | 52de114e357b8035d54040be8b9148de437b5b4b (patch) | |
tree | 8eeca3387e15a2c4e54ac4a4a4b404744b2dbd06 /arch/m68k/kernel | |
parent | 91cf248396d18989f5f4090497723f4f90c8971f (diff) |
m68k: Prefix ISA type with ISA_TYPE_
The *_ISA type defines are quite generic and cause namespace conflicts
(e.g. with `AMIGAHW_DECLARE(GG2_ISA)' in <asm/amigahw.h>) for some kernel
configurations. Use ISA_TYPE_* to avoid such conflicts.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r-- | arch/m68k/kernel/setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/kernel/setup.c b/arch/m68k/kernel/setup.c index 06feb7946d34..02bb9634f0e1 100644 --- a/arch/m68k/kernel/setup.c +++ b/arch/m68k/kernel/setup.c | |||
@@ -348,17 +348,17 @@ void __init setup_arch(char **cmdline_p) | |||
348 | #if defined(CONFIG_ISA) && defined(MULTI_ISA) | 348 | #if defined(CONFIG_ISA) && defined(MULTI_ISA) |
349 | #if defined(CONFIG_Q40) | 349 | #if defined(CONFIG_Q40) |
350 | if (MACH_IS_Q40) { | 350 | if (MACH_IS_Q40) { |
351 | isa_type = Q40_ISA; | 351 | isa_type = ISA_TYPE_Q40; |
352 | isa_sex = 0; | 352 | isa_sex = 0; |
353 | } | 353 | } |
354 | #elif defined(CONFIG_GG2) | 354 | #elif defined(CONFIG_GG2) |
355 | if (MACH_IS_AMIGA && AMIGAHW_PRESENT(GG2_ISA)) { | 355 | if (MACH_IS_AMIGA && AMIGAHW_PRESENT(GG2_ISA)) { |
356 | isa_type = GG2_ISA; | 356 | isa_type = ISA_TYPE_GG2; |
357 | isa_sex = 0; | 357 | isa_sex = 0; |
358 | } | 358 | } |
359 | #elif defined(CONFIG_AMIGA_PCMCIA) | 359 | #elif defined(CONFIG_AMIGA_PCMCIA) |
360 | if (MACH_IS_AMIGA && AMIGAHW_PRESENT(PCMCIA)) { | 360 | if (MACH_IS_AMIGA && AMIGAHW_PRESENT(PCMCIA)) { |
361 | isa_type = AG_ISA; | 361 | isa_type = ISA_TYPE_AG; |
362 | isa_sex = 1; | 362 | isa_sex = 1; |
363 | } | 363 | } |
364 | #endif | 364 | #endif |