]> Pileus Git - ~andy/linux/commitdiff
[media] siano: fix build with allmodconfig
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 23 Nov 2012 15:48:39 +0000 (13:48 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 23 Nov 2012 15:48:39 +0000 (13:48 -0200)
As reported by Stephen:

        After merging the v4l-dvb tree, today's linux-next build (x86_64
        allmodconfig) failed like this:

        ERROR: "sms_ir_exit" [drivers/media/common/siano/smsmdtv.ko] undefined!
        ERROR: "sms_ir_event" [drivers/media/common/siano/smsmdtv.ko] undefined!
        ERROR: "sms_ir_init" [drivers/media/common/siano/smsmdtv.ko] undefined!

The smsir file should be part of the smsmdtv core, if RC is defined.
Fix it.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/siano/Makefile

index 9e7fdf24a6b79d4fcd8727a56a1d28aa6b164bb1..81b1e985bea526d843ad233ee406ddd390811cf4 100644 (file)
@@ -3,7 +3,7 @@ smsmdtv-objs := smscoreapi.o sms-cards.o smsendian.o
 obj-$(CONFIG_SMS_SIANO_MDTV) += smsmdtv.o smsdvb.o
 
 ifeq ($(CONFIG_SMS_SIANO_RC),y)
-  obj-$(CONFIG_SMS_SIANO_MDTV) += smsir.o
+  smsmdtv-objs += smsir.o
 endif
 
 ccflags-y += -Idrivers/media/dvb-core