linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix Kconfig for usb/input
@ 2007-04-15 15:59 Jory A. Pratt
  2007-04-24  4:55 ` Paul Mackerras
  0 siblings, 1 reply; 2+ messages in thread
From: Jory A. Pratt @ 2007-04-15 15:59 UTC (permalink / raw)
  To: linux-arch

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

PPC32 arch specifics should not be displayed to any other arch. This is 
just a simple correction to the depends. Any questions or comments are 
welcomed as always.

[-- Attachment #2: powerpc-usb-kconfig.patch --]
[-- Type: text/plain, Size: 1030 bytes --]

Subject: [patch] Fix Kconfig for usb and PPC32 arch specific options
From: Jory A. Pratt <geekypenguin@gmail.com>

This just cleans up the Kconfig so PPC32 specific options are not displayed for 
other archs

Signed-off-by: Jory A. Pratt <geekypenguin@gmail.com>
diff --git a/drivers/usb/input/Kconfig b/drivers/usb/input/Kconfig
index 69a9f3b..1b9e42e 100644
--- a/drivers/usb/input/Kconfig
+++ b/drivers/usb/input/Kconfig
@@ -30,7 +30,7 @@ comment "Input core support is needed for USB HID input layer or HIDBP support"
 config USB_HIDINPUT_POWERBOOK
 	bool "Enable support for iBook/PowerBook special keys"
 	default n
-	depends on USB_HID
+	depends on USB_HID && PPC32
 	help
 	  Say Y here if you want support for the special keys (Fn, Numlock) on
 	  Apple iBooks and PowerBooks.
@@ -339,7 +339,7 @@ config USB_KEYSPAN_REMOTE
 
 config USB_APPLETOUCH
 	tristate "Apple USB Touchpad support"
-	depends on USB && INPUT
+	depends on USB && INPUT && PPC32
 	---help---
 	  Say Y here if you want to use an Apple USB Touchpad.
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix Kconfig for usb/input
  2007-04-15 15:59 [PATCH] Fix Kconfig for usb/input Jory A. Pratt
@ 2007-04-24  4:55 ` Paul Mackerras
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mackerras @ 2007-04-24  4:55 UTC (permalink / raw)
  To: Jory A. Pratt; +Cc: linux-arch

Jory A. Pratt writes:

>  config USB_HIDINPUT_POWERBOOK
>  	bool "Enable support for iBook/PowerBook special keys"
>  	default n
> -	depends on USB_HID
> +	depends on USB_HID && PPC32
>  	help
>  	  Say Y here if you want support for the special keys (Fn, Numlock) on
>  	  Apple iBooks and PowerBooks.
> @@ -339,7 +339,7 @@ config USB_KEYSPAN_REMOTE
>  
>  config USB_APPLETOUCH
>  	tristate "Apple USB Touchpad support"
> -	depends on USB && INPUT
> +	depends on USB && INPUT && PPC32
>  	---help---
>  	  Say Y here if you want to use an Apple USB Touchpad.

Are these options needed on intel-based MacBooks these days?

Paul.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-24  6:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-15 15:59 [PATCH] Fix Kconfig for usb/input Jory A. Pratt
2007-04-24  4:55 ` Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).