HID: switch specialized drivers from "default y" to !EMBEDDED
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 11 Dec 2008 13:54:07 +0000 (14:54 +0100)
committerJiri Kosina <jkosina@suse.cz>
Sun, 4 Jan 2009 00:00:52 +0000 (01:00 +0100)
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>
drivers/hid/Kconfig

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