Skip to content

Commit

Permalink
PNP: remove old CONFIG_PNP_DEBUG option
Browse files Browse the repository at this point in the history
CONFIG_PNP_DEBUG is no longer used to turn on dev_dbg() in PNP,
since we have pnp_dbg() which can be enabled at boot-time, so
this patch removes the config option.

Note that pnp_dock_event() checks "#ifdef DEBUG".  But there's
never been a clear path for enabling that via configgery.  It
happened that CONFIG_PNP_DEBUG enabled it after 1bd17e6,
but that was accidental and only in 2.6.26.

Signed-off-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Len Brown <[email protected]>
  • Loading branch information
Bjorn Helgaas authored and lenb committed Oct 11, 2008
1 parent 2f53432 commit ac88a8f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 22 deletions.
6 changes: 0 additions & 6 deletions drivers/pnp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ config PNP_DEBUG_MESSAGES

if PNP

config PNP_DEBUG
bool "PnP Debug Messages"
help
Say Y if you want the Plug and Play Layer to print debug messages.
This is useful if you are developing a PnP driver or troubleshooting.

comment "Protocols"

source "drivers/pnp/isapnp/Kconfig"
Expand Down
4 changes: 0 additions & 4 deletions drivers/pnp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,3 @@ obj-y := core.o card.o driver.o resource.o manager.o support.o interface.o quir
obj-$(CONFIG_PNPACPI) += pnpacpi/
obj-$(CONFIG_PNPBIOS) += pnpbios/
obj-$(CONFIG_ISAPNP) += isapnp/

ifeq ($(CONFIG_PNP_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
4 changes: 0 additions & 4 deletions drivers/pnp/isapnp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,3 @@
isapnp-proc-$(CONFIG_PROC_FS) = proc.o

obj-y := core.o compat.o $(isapnp-proc-y)

ifeq ($(CONFIG_PNP_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
4 changes: 0 additions & 4 deletions drivers/pnp/pnpacpi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@
#

obj-y := core.o rsparser.o

ifeq ($(CONFIG_PNP_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
4 changes: 0 additions & 4 deletions drivers/pnp/pnpbios/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,3 @@
pnpbios-proc-$(CONFIG_PNPBIOS_PROC_FS) = proc.o

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

ifeq ($(CONFIG_PNP_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif

0 comments on commit ac88a8f

Please sign in to comment.