The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: janitor@sternwelten.at
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org, janitor@sternwelten.at,
	domen@coderock.org, rddunlap@osdl.org
Subject: [patch 09/11] Subject: ifdef typos mips: AU1[0X]00_USB_DEVICE
Date: Tue, 30 Nov 2004 02:57:35 +0100	[thread overview]
Message-ID: <E1CYxGp-0002zG-MP@sputnik> (raw)



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: Domen Puncer <domen@coderock.org>
Acked-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>

---

 linux-2.6.10-rc2-bk13-max/arch/mips/Kconfig                    |    2 +-
 linux-2.6.10-rc2-bk13-max/arch/mips/au1000/mtx-1/board_setup.c |    2 +-
 linux-2.6.10-rc2-bk13-max/arch/mips/configs/pb1500_defconfig   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff -puN arch/mips/au1000/mtx-1/board_setup.c~ifdef-mips-au100_usb_device arch/mips/au1000/mtx-1/board_setup.c
--- linux-2.6.10-rc2-bk13/arch/mips/au1000/mtx-1/board_setup.c~ifdef-mips-au100_usb_device	2004-11-30 02:41:43.000000000 +0100
+++ linux-2.6.10-rc2-bk13-max/arch/mips/au1000/mtx-1/board_setup.c	2004-11-30 02:41:43.000000000 +0100
@@ -60,7 +60,7 @@ void __init board_setup(void)
 	// enable USB power switch
 	au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR );
 	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
 #if defined(__MIPSEB__)
diff -puN arch/mips/configs/pb1500_defconfig~ifdef-mips-au100_usb_device arch/mips/configs/pb1500_defconfig
--- linux-2.6.10-rc2-bk13/arch/mips/configs/pb1500_defconfig~ifdef-mips-au100_usb_device	2004-11-30 02:41:43.000000000 +0100
+++ linux-2.6.10-rc2-bk13-max/arch/mips/configs/pb1500_defconfig	2004-11-30 02:41:43.000000000 +0100
@@ -99,7 +99,7 @@ CONFIG_RWSEM_GENERIC_SPINLOCK=y
 CONFIG_HAVE_DEC_LOCK=y
 CONFIG_DMA_NONCOHERENT=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_FB is not set
 
diff -puN arch/mips/Kconfig~ifdef-mips-au100_usb_device arch/mips/Kconfig
--- linux-2.6.10-rc2-bk13/arch/mips/Kconfig~ifdef-mips-au100_usb_device	2004-11-30 02:41:43.000000000 +0100
+++ linux-2.6.10-rc2-bk13-max/arch/mips/Kconfig	2004-11-30 02:41:43.000000000 +0100
@@ -959,7 +959,7 @@ config SYSCLK_100
 
 endchoice
 
-config AU1000_USB_DEVICE
+config AU1X00_USB_DEVICE
 	bool
 	depends on MIPS_PB1500 || MIPS_PB1100 || MIPS_PB1000
 	default n
_

                 reply	other threads:[~2004-11-30  2:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1CYxGp-0002zG-MP@sputnik \
    --to=janitor@sternwelten.at \
    --cc=akpm@osdl.org \
    --cc=domen@coderock.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rddunlap@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox