From: Mauro Carvalho Chehab Date: Sat, 24 Aug 2013 10:52:25 +0000 (-0300) Subject: [media] cx88: fix build when VP3054=m and CX88_DVB=y X-Git-Tag: v3.12-rc1~135^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ae0d202a56a18edd468d6fff6f060bfc30df222;p=pandora-kernel.git [media] cx88: fix build when VP3054=m and CX88_DVB=y As reported by Jim Davis : randconfig build error with next-20130813, in drivers/media/pci/cx88, when: CONFIG_VIDEO_CX88=y CONFIG_VIDEO_CX88_BLACKBIRD=m CONFIG_VIDEO_CX88_DVB=y CONFIG_VIDEO_CX88_VP3054=m CONFIG_VIDEO_CX88_MPEG=y LD init/built-in.o drivers/built-in.o: In function `cx8802_dvb_remove': cx88-dvb.c:(.text+0x3a9914): undefined reference to `vp3054_i2c_remove' drivers/built-in.o: In function `cx8802_dvb_probe': cx88-dvb.c:(.text+0x3a9c4b): undefined reference to `vp3054_i2c_probe' make: *** [vmlinux] Error 1 That happens because the vp3054 symbols aren't available builtin. So, make it builtin, if CX88_DVB=y, or module otherwise, if this support is selected. Reported-by: Jim Davis Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed