aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/hdpvr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/hdpvr/Makefile')
-rw-r--r--drivers/media/video/hdpvr/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/hdpvr/Makefile b/drivers/media/video/hdpvr/Makefile
index 79ad2e16cb8..e0230fcb2e3 100644
--- a/drivers/media/video/hdpvr/Makefile
+++ b/drivers/media/video/hdpvr/Makefile
@@ -1,4 +1,6 @@
-hdpvr-objs := hdpvr-control.o hdpvr-core.o hdpvr-i2c.o hdpvr-video.o
+hdpvr-objs := hdpvr-control.o hdpvr-core.o hdpvr-video.o
+
+hdpvr-$(CONFIG_I2C) += hdpvr-i2c.o
obj-$(CONFIG_VIDEO_HDPVR) += hdpvr.o