aboutsummaryrefslogtreecommitdiff
path: root/drivers/pnp/pnpbios/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/pnpbios/Makefile')
-rw-r--r--drivers/pnp/pnpbios/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pnp/pnpbios/Makefile b/drivers/pnp/pnpbios/Makefile
index 3cd3ed76060..240b0ffb83c 100644
--- a/drivers/pnp/pnpbios/Makefile
+++ b/drivers/pnp/pnpbios/Makefile
@@ -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