Skip to contentSkip to conversation

Fix Kconfig for usb/input

PATCH In review Jory A. Pratt 2 participants 2 messages Apr 15, 2007 – Apr 24, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix Kconfig for usb/input

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.

Subject: [patch] Fix Kconfig for usb and PPC32 arch specific options
From: Jory A. Pratt <[email protected]>

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

drivers/usb/input/Kconfig +2 -2
index 69a9f3b..1b9e42e 100644
@@ -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.
 
#1 lore raw
Quoted 9 lines · Jory A. Pratt

config USB_HIDINPUT_POWERBOOK

drivers/usb/input/Kconfig +1 -1
 	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.

drivers/usb/input/Kconfig config USB_KEYSPAN_REMOTE · line 344

Quoted 7 lines
drivers/usb/input/Kconfig +1 -1
@@ -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.