-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Thomas Renninger
authored and
Len Brown
committed
Oct 27, 2010
1 parent
45352bb
commit 803711a
Showing
4 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |