diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-16 11:42:48 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-16 11:42:48 -0800 |
commit | 3fc8ea664f77addadf342ec5afac00aec1c4fc97 (patch) | |
tree | 3df48d0b83859982f20923236ff701a60c790719 /driver | |
parent | 87c6034675a703ac8cbf5111e505180b6a6bda95 (diff) | |
download | patches-3fc8ea664f77addadf342ec5afac00aec1c4fc97.tar.gz |
always enable CONFIG_HOTPLUG
Diffstat (limited to 'driver')
-rw-r--r-- | driver/hotplug-always-enabled.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/driver/hotplug-always-enabled.patch b/driver/hotplug-always-enabled.patch new file mode 100644 index 0000000000000..25d9c80b27cca --- /dev/null +++ b/driver/hotplug-always-enabled.patch @@ -0,0 +1,48 @@ +From gregkh@suse.de Wed Nov 16 11:16:30 2005 +Date: Wed, 16 Nov 2005 11:27:07 -0800 +From: Greg Kroah-Hartman <gregkh@suse.de> +Subject: HOTPLUG: always enable the .config option, unless EMBEDDED + +With modules, dynamic /dev, and uevents, people really want +CONFIG_HOTPLUG to be enabled in their kernels. If not, they can still +disable it, but it is discouraged. + + +Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> +--- + init/Kconfig | 17 +++++++++-------- + 1 file changed, 9 insertions(+), 8 deletions(-) + +--- gregkh-2.6.orig/init/Kconfig ++++ gregkh-2.6/init/Kconfig +@@ -197,14 +197,6 @@ config AUDITSYSCALL + can be used independently or with another kernel subsystem, + such as SELinux. + +-config HOTPLUG +- bool "Support for hot-pluggable devices" if !ARCH_S390 +- default ARCH_S390 +- help +- This option is provided for the case where no in-kernel-tree +- modules require HOTPLUG functionality, but a module built +- outside the kernel tree does. Such modules require Y here. +- + config IKCONFIG + bool "Kernel .config support" + ---help--- +@@ -276,6 +268,15 @@ config KALLSYMS_EXTRA_PASS + you wait for kallsyms to be fixed. + + ++config HOTPLUG ++ bool "Support for hot-pluggable devices" if EMBEDDED ++ default y ++ help ++ This option is provided for the case where no hotplug or uevent ++ capabilities is wanted by the kernel. You should only consider ++ disabling this option for embedded systems that do not use modules, a ++ dynamic /dev tree, or dynamic device discovery. Just say Y. ++ + config PRINTK + default y + bool "Enable support for printk" if EMBEDDED |