浏览代码

HID: switch specialized drivers from "default y" to !EMBEDDED

Fix the obnoxious "default y" for all the "special" HID code, which forces folk
with EMBEDDED defined to manually override that inappropriate default for
almost 20 choices.  The general policy is against "default y"; it should apply
here too.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
David Brownell 16 年之前
父节点
当前提交
d04b431e3d
共有 1 个文件被更改,包括 17 次插入17 次删除
  1. 17 17
      drivers/hid/Kconfig

+ 17 - 17
drivers/hid/Kconfig

@@ -85,14 +85,14 @@ config HID_COMPAT
 config HID_A4TECH
 config HID_A4TECH
 	tristate "A4 tech" if EMBEDDED
 	tristate "A4 tech" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for A4 tech X5 and WOP-35 / Trust 450L mice.
 	Support for A4 tech X5 and WOP-35 / Trust 450L mice.
 
 
 config HID_APPLE
 config HID_APPLE
 	tristate "Apple" if EMBEDDED
 	tristate "Apple" if EMBEDDED
 	depends on (USB_HID || BT_HIDP)
 	depends on (USB_HID || BT_HIDP)
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for some Apple devices which less or more break
 	Support for some Apple devices which less or more break
 	HID specification.
 	HID specification.
@@ -103,49 +103,49 @@ config HID_APPLE
 config HID_BELKIN
 config HID_BELKIN
 	tristate "Belkin" if EMBEDDED
 	tristate "Belkin" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Belkin Flip KVM and Wireless keyboard.
 	Support for Belkin Flip KVM and Wireless keyboard.
 
 
 config HID_CHERRY
 config HID_CHERRY
 	tristate "Cherry" if EMBEDDED
 	tristate "Cherry" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Cherry Cymotion keyboard.
 	Support for Cherry Cymotion keyboard.
 
 
 config HID_CHICONY
 config HID_CHICONY
 	tristate "Chicony" if EMBEDDED
 	tristate "Chicony" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Chicony Tactical pad.
 	Support for Chicony Tactical pad.
 
 
 config HID_CYPRESS
 config HID_CYPRESS
 	tristate "Cypress" if EMBEDDED
 	tristate "Cypress" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for cypress mouse and barcode readers.
 	Support for cypress mouse and barcode readers.
 
 
 config HID_EZKEY
 config HID_EZKEY
 	tristate "Ezkey" if EMBEDDED
 	tristate "Ezkey" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Ezkey BTC 8193 keyboard.
 	Support for Ezkey BTC 8193 keyboard.
 
 
 config HID_GYRATION
 config HID_GYRATION
 	tristate "Gyration" if EMBEDDED
 	tristate "Gyration" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Gyration remote control.
 	Support for Gyration remote control.
 
 
 config HID_LOGITECH
 config HID_LOGITECH
 	tristate "Logitech" if EMBEDDED
 	tristate "Logitech" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Logitech devices that are not fully compliant with HID standard.
 	Support for Logitech devices that are not fully compliant with HID standard.
 
 
@@ -176,28 +176,28 @@ config LOGIRUMBLEPAD2_FF
 config HID_MICROSOFT
 config HID_MICROSOFT
 	tristate "Microsoft" if EMBEDDED
 	tristate "Microsoft" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Microsoft devices that are not fully compliant with HID standard.
 	Support for Microsoft devices that are not fully compliant with HID standard.
 
 
 config HID_MONTEREY
 config HID_MONTEREY
 	tristate "Monterey" if EMBEDDED
 	tristate "Monterey" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Monterey Genius KB29E.
 	Support for Monterey Genius KB29E.
 
 
 config HID_NTRIG
 config HID_NTRIG
 	tristate "NTrig" if EMBEDDED
 	tristate "NTrig" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for N-Trig touch screen.
 	Support for N-Trig touch screen.
 
 
 config HID_PANTHERLORD
 config HID_PANTHERLORD
 	tristate "Pantherlord devices support" if EMBEDDED
 	tristate "Pantherlord devices support" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for PantherLord/GreenAsia based device support.
 	Support for PantherLord/GreenAsia based device support.
 
 
@@ -212,28 +212,28 @@ config PANTHERLORD_FF
 config HID_PETALYNX
 config HID_PETALYNX
 	tristate "Petalynx" if EMBEDDED
 	tristate "Petalynx" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Petalynx Maxter remote control.
 	Support for Petalynx Maxter remote control.
 
 
 config HID_SAMSUNG
 config HID_SAMSUNG
 	tristate "Samsung" if EMBEDDED
 	tristate "Samsung" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Samsung InfraRed remote control.
 	Support for Samsung InfraRed remote control.
 
 
 config HID_SONY
 config HID_SONY
 	tristate "Sony" if EMBEDDED
 	tristate "Sony" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Sony PS3 controller.
 	Support for Sony PS3 controller.
 
 
 config HID_SUNPLUS
 config HID_SUNPLUS
 	tristate "Sunplus" if EMBEDDED
 	tristate "Sunplus" if EMBEDDED
 	depends on USB_HID
 	depends on USB_HID
-	default y
+	default !EMBEDDED
 	---help---
 	---help---
 	Support for Sunplus wireless desktop.
 	Support for Sunplus wireless desktop.