Commit 6f038511 authored by Maximilian Attems's avatar Maximilian Attems Committed by Linus Torvalds

[PATCH] ifdef typos mips: AU1[0X]00_USB_DEVICE

AU1000_USB_DEVICE appears 3 times.
AU1X00_USB_DEVICE appears 44 times, and is nowhere defined.
One ifdef starts with "X" version, and ends with "0", so it's quite
obvious these is supposed to be one option.

Makes you wonder if anybody uses these devices.
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Acked-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 388522f4
...@@ -990,7 +990,7 @@ config SYSCLK_100 ...@@ -990,7 +990,7 @@ config SYSCLK_100
endchoice endchoice
config AU1000_USB_DEVICE config AU1X00_USB_DEVICE
bool bool
depends on MIPS_PB1500 || MIPS_PB1100 || MIPS_PB1000 depends on MIPS_PB1500 || MIPS_PB1100 || MIPS_PB1000
default n default n
......
...@@ -60,7 +60,7 @@ void __init board_setup(void) ...@@ -60,7 +60,7 @@ void __init board_setup(void)
// enable USB power switch // enable USB power switch
au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR ); au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR );
au_writel( 0x100000, GPIO2_OUTPUT ); au_writel( 0x100000, GPIO2_OUTPUT );
#endif // defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1000_USB_DEVICE) #endif // defined (CONFIG_USB_OHCI) || defined (CONFIG_AU1X00_USB_DEVICE)
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
#if defined(__MIPSEB__) #if defined(__MIPSEB__)
......
...@@ -104,7 +104,7 @@ CONFIG_RWSEM_GENERIC_SPINLOCK=y ...@@ -104,7 +104,7 @@ CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_HAVE_DEC_LOCK=y CONFIG_HAVE_DEC_LOCK=y
CONFIG_DMA_COHERENT=y CONFIG_DMA_COHERENT=y
CONFIG_CPU_LITTLE_ENDIAN=y CONFIG_CPU_LITTLE_ENDIAN=y
# CONFIG_AU1000_USB_DEVICE is not set # CONFIG_AU1X00_USB_DEVICE is not set
CONFIG_MIPS_L1_CACHE_SHIFT=5 CONFIG_MIPS_L1_CACHE_SHIFT=5
# CONFIG_FB is not set # CONFIG_FB is not set
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment