summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/isapnp
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2010-10-25 21:11:15 +0200
committerLen Brown <len.brown@intel.com>2010-10-27 02:23:44 -0400
commit803711afdbea5c6a6dd2b46eca76097f6d50fb53 (patch)
tree7bbcc5317e85c5de805377b3b5d6b8536afb527c /drivers/pnp/isapnp
parent45352bbf48e95078b4acd20774f49e72676e1e0f (diff)
downloadop-kernel-dev-803711afdbea5c6a6dd2b46eca76097f6d50fb53.zip
op-kernel-dev-803711afdbea5c6a6dd2b46eca76097f6d50fb53.tar.gz
PNP: Compile all pnp built-in stuff in one module namespace
This is cleanup mostly, nothing urgent. I came up with it when looking at dynamic debug which can enable pr_debug messages at runtime or boot param for a specific module. Advantages: - Any pnp code can make use of the moduleparam.h interface, the modules will show up as pnp.param. - Passing pnp.ddebug as kernel boot param will enable all pnp debug messages with my previous patch and CONFIG_DYNAMIC_DEBUG enabled. Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/isapnp')
-rw-r--r--drivers/pnp/isapnp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pnp/isapnp/Makefile b/drivers/pnp/isapnp/Makefile
index cac18bb..6e607aa 100644
--- a/drivers/pnp/isapnp/Makefile
+++ b/drivers/pnp/isapnp/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for the kernel ISAPNP driver.
#
+obj-y += pnp.o
+pnp-y := core.o compat.o
-isapnp-proc-$(CONFIG_PROC_FS) = proc.o
-
-obj-y := core.o compat.o $(isapnp-proc-y)
+pnp-$(CONFIG_PROC_FS) += proc.o
OpenPOWER on IntegriCloud