Skip to content

Commit

Permalink
Merge branch 'pnp' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
Len Brown committed Jan 12, 2011
2 parents 633379a + cdefba0 commit 6d1f23f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
6 changes: 4 additions & 2 deletions drivers/pnp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
# Makefile for the Linux Plug-and-Play Support.
#

obj-y := core.o card.o driver.o resource.o manager.o support.o interface.o quirks.o
obj-y := pnp.o

pnp-y := core.o card.o driver.o resource.o manager.o support.o interface.o quirks.o

obj-$(CONFIG_PNPACPI) += pnpacpi/
obj-$(CONFIG_PNPBIOS) += pnpbios/
obj-$(CONFIG_ISAPNP) += isapnp/

# pnp_system_init goes after pnpacpi/pnpbios init
obj-y += system.o
pnp-y += system.o
7 changes: 1 addition & 6 deletions drivers/pnp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,5 @@ subsys_initcall(pnp_init);
int pnp_debug;

#if defined(CONFIG_PNP_DEBUG_MESSAGES)
static int __init pnp_debug_setup(char *__unused)
{
pnp_debug = 1;
return 1;
}
__setup("pnp.debug", pnp_debug_setup);
module_param_named(debug, pnp_debug, int, 0644);
#endif
6 changes: 3 additions & 3 deletions drivers/pnp/isapnp/Makefile
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion drivers/pnp/pnpacpi/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#
# Makefile for the kernel PNPACPI driver.
#
obj-y += pnp.o

obj-y := core.o rsparser.o
pnp-y := core.o rsparser.o
5 changes: 3 additions & 2 deletions drivers/pnp/pnpbios/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# Makefile for the kernel PNPBIOS driver.
#
obj-y := pnp.o

pnpbios-proc-$(CONFIG_PNPBIOS_PROC_FS) = proc.o
pnp-y := core.o bioscalls.o rsparser.o

obj-y := core.o bioscalls.o rsparser.o $(pnpbios-proc-y)
pnp-$(CONFIG_PNPBIOS_PROC_FS) += proc.o

0 comments on commit 6d1f23f

Please sign in to comment.