V4L/DVB (7900): pvrusb: Fix Kconfig if DVB=m V4L_core=y
authorMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 14 May 2008 08:08:19 +0000 (05:08 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 14 May 2008 05:56:47 +0000 (02:56 -0300)
commitc2b7bbea83b239b1877f3cafe0cdcbbd08e65648
tree131fbb1b98d948908268d8252c97848a4f81c44d
parent2ea336dc117098ef917ca9a19e911d15490587cc
V4L/DVB (7900): pvrusb: Fix Kconfig if DVB=m V4L_core=y

As reported by Ingo Molnar:

x86.git testing found the following build failure:

  drivers/built-in.o: In function `pvr2_dvb_feed_thread':
  pvrusb2-dvb.c:(.text+0x127e78): undefined reference to `dvb_dmx_swfilter'
  drivers/built-in.o: In function `pvr2_dvb_adapter_exit':
  pvrusb2-dvb.c:(.text+0x128357): undefined reference to `dvb_net_release'
  pvrusb2-dvb.c:(.text+0x12836f): undefined reference to `dvb_dmxdev_release'
  [...]

with this config:

  CONFIG_VIDEO_PVRUSB2=y
  CONFIG_DVB_CORE=m

i.e. pvrusb2 is built-in, dvb-core is modular.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/Kconfig