diff options
author | Len Brown <len.brown@intel.com> | 2011-01-12 04:59:44 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 04:59:44 -0500 |
commit | 6d1f23f204c9e4638bd30ff3a768c47e40cd3ac0 (patch) | |
tree | 5b0ddc0eb897435f9fade4c4b5927f777ca23707 /drivers/pnp | |
parent | 633379a0f9f16362835d7a3fde141d3a95fd6c97 (diff) | |
parent | cdefba03e44bd3b3311a3849a81ec7030dfa1519 (diff) |
Merge branch 'pnp' into release
Diffstat (limited to 'drivers/pnp')
-rw-r--r-- | drivers/pnp/Makefile | 6 | ||||
-rw-r--r-- | drivers/pnp/core.c | 7 | ||||
-rw-r--r-- | drivers/pnp/isapnp/Makefile | 6 | ||||
-rw-r--r-- | drivers/pnp/pnpacpi/Makefile | 3 | ||||
-rw-r--r-- | drivers/pnp/pnpbios/Makefile | 5 |
5 files changed, 13 insertions, 14 deletions
diff --git a/drivers/pnp/Makefile b/drivers/pnp/Makefile index 8de3775ec242..bfba893cb321 100644 --- a/drivers/pnp/Makefile +++ b/drivers/pnp/Makefile | |||
@@ -2,11 +2,13 @@ | |||
2 | # Makefile for the Linux Plug-and-Play Support. | 2 | # Makefile for the Linux Plug-and-Play Support. |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := core.o card.o driver.o resource.o manager.o support.o interface.o quirks.o | 5 | obj-y := pnp.o |
6 | |||
7 | pnp-y := core.o card.o driver.o resource.o manager.o support.o interface.o quirks.o | ||
6 | 8 | ||
7 | obj-$(CONFIG_PNPACPI) += pnpacpi/ | 9 | obj-$(CONFIG_PNPACPI) += pnpacpi/ |
8 | obj-$(CONFIG_PNPBIOS) += pnpbios/ | 10 | obj-$(CONFIG_PNPBIOS) += pnpbios/ |
9 | obj-$(CONFIG_ISAPNP) += isapnp/ | 11 | obj-$(CONFIG_ISAPNP) += isapnp/ |
10 | 12 | ||
11 | # pnp_system_init goes after pnpacpi/pnpbios init | 13 | # pnp_system_init goes after pnpacpi/pnpbios init |
12 | obj-y += system.o | 14 | pnp-y += system.o |
diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 0f34d962fd3c..cb6ce42f8e77 100644 --- a/drivers/pnp/core.c +++ b/drivers/pnp/core.c | |||
@@ -220,10 +220,5 @@ subsys_initcall(pnp_init); | |||
220 | int pnp_debug; | 220 | int pnp_debug; |
221 | 221 | ||
222 | #if defined(CONFIG_PNP_DEBUG_MESSAGES) | 222 | #if defined(CONFIG_PNP_DEBUG_MESSAGES) |
223 | static int __init pnp_debug_setup(char *__unused) | 223 | module_param_named(debug, pnp_debug, int, 0644); |
224 | { | ||
225 | pnp_debug = 1; | ||
226 | return 1; | ||
227 | } | ||
228 | __setup("pnp.debug", pnp_debug_setup); | ||
229 | #endif | 224 | #endif |
diff --git a/drivers/pnp/isapnp/Makefile b/drivers/pnp/isapnp/Makefile index cac18bbfb817..6e607aa33aa3 100644 --- a/drivers/pnp/isapnp/Makefile +++ b/drivers/pnp/isapnp/Makefile | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Makefile for the kernel ISAPNP driver. | 2 | # Makefile for the kernel ISAPNP driver. |
3 | # | 3 | # |
4 | obj-y += pnp.o | ||
5 | pnp-y := core.o compat.o | ||
4 | 6 | ||
5 | isapnp-proc-$(CONFIG_PROC_FS) = proc.o | 7 | pnp-$(CONFIG_PROC_FS) += proc.o |
6 | |||
7 | obj-y := core.o compat.o $(isapnp-proc-y) | ||
diff --git a/drivers/pnp/pnpacpi/Makefile b/drivers/pnp/pnpacpi/Makefile index 905326fcca85..40c93da18252 100644 --- a/drivers/pnp/pnpacpi/Makefile +++ b/drivers/pnp/pnpacpi/Makefile | |||
@@ -1,5 +1,6 @@ | |||
1 | # | 1 | # |
2 | # Makefile for the kernel PNPACPI driver. | 2 | # Makefile for the kernel PNPACPI driver. |
3 | # | 3 | # |
4 | obj-y += pnp.o | ||
4 | 5 | ||
5 | obj-y := core.o rsparser.o | 6 | pnp-y := core.o rsparser.o |
diff --git a/drivers/pnp/pnpbios/Makefile b/drivers/pnp/pnpbios/Makefile index 3cd3ed760605..240b0ffb83ca 100644 --- a/drivers/pnp/pnpbios/Makefile +++ b/drivers/pnp/pnpbios/Makefile | |||
@@ -1,7 +1,8 @@ | |||
1 | # | 1 | # |
2 | # Makefile for the kernel PNPBIOS driver. | 2 | # Makefile for the kernel PNPBIOS driver. |
3 | # | 3 | # |
4 | obj-y := pnp.o | ||
4 | 5 | ||
5 | pnpbios-proc-$(CONFIG_PNPBIOS_PROC_FS) = proc.o | 6 | pnp-y := core.o bioscalls.o rsparser.o |
6 | 7 | ||
7 | obj-y := core.o bioscalls.o rsparser.o $(pnpbios-proc-y) | 8 | pnp-$(CONFIG_PNPBIOS_PROC_FS) += proc.o |