[2.6 patch] make INPUT a bool



Make INPUT a bool.

INPUT!=y is only possible if EMBEDDED=y, and in such cases it doesn't
make that much sense to make it modular.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

This patch was already sent on:
- 3 Feb 2006

drivers/input/Kconfig | 2 +-
drivers/input/input.c | 8 --------
2 files changed, 1 insertion(+), 9 deletions(-)

--- linux-2.6.16-rc1-mm5-full/drivers/input/Kconfig.old 2006-02-03 22:42:18.000000000 +0100
+++ linux-2.6.16-rc1-mm5-full/drivers/input/Kconfig 2006-02-03 22:42:29.000000000 +0100
@@ -5,7 +5,7 @@
menu "Input device support"

config INPUT
- tristate "Generic input layer (needed for keyboard, mouse, ...)" if EMBEDDED
+ bool "Generic input layer (needed for keyboard, mouse, ...)" if EMBEDDED
default y
---help---
Say Y here if you have any input device (mouse, keyboard, tablet,
--- linux-2.6.16-rc1-mm5-full/drivers/input/input.c.old 2006-02-03 22:42:41.000000000 +0100
+++ linux-2.6.16-rc1-mm5-full/drivers/input/input.c 2006-02-03 22:47:44.000000000 +0100
@@ -984,12 +984,4 @@
return err;
}

-static void __exit input_exit(void)
-{
- input_proc_exit();
- unregister_chrdev(INPUT_MAJOR, "input");
- class_unregister(&input_class);
-}
-
subsys_initcall(input_init);
-module_exit(input_exit);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [RFC] rfkill - Add support for input key to control wireless radio
    ... This patch is a resend of a patch I has been send to the linux kernel ... The rfkill works as follows, when the user presses the hardware key ... its own input device, if this input device has not been openened ... This driver will be usefull for the rt2x00 drivers ...
    (Linux-Kernel)
  • [PATCH] sysfs input class patch - [1/1]
    ... that adds input device class support to sysfs. ... This patch require the sysfs simple class patch that is currently in the ... can you please add this patch to your -mm tree to get some ...
    (Linux-Kernel)
  • [2.6 patch] make INPUT a bool
    ... make that much sense to make it modular. ... We also need to get rid of input_register_device pinning input module ... Say Y here if you have any input device (mouse, keyboard, tablet, ... goto fail1; ...
    (Linux-Kernel)
  • Re: [PATCH] Apple SMC driver - fix input device
    ... could you please push this patch in mm too? ... Invert y axis on input device. ... Only activate the input device polling timer when the device is open. ... Others minor fixes asked by Dmitry Torokhov. ...
    (Linux-Kernel)
  • Re: [RFC] [PATCH] Make ACPI button driver an input device
    ... This patch adds a keycode for lid switches (are we running out of ... and allows the button driver to register an input device. ...
    (Linux-Kernel)