Skip to content

Commit

Permalink
[PATCH] HOTPLUG: always enable the .config option, unless EMBEDDED
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Jan 5, 2006
1 parent 312c004 commit 712f47c
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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---
Expand Down Expand Up @@ -289,6 +281,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
Expand Down

0 comments on commit 712f47c

Please sign in to comment.