[lkml]   [2008]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[patch] video: build fix for drivers/media/video/pvrusb2/

    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:

    the reason for the missing symbols is this combination:


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

    This patch solves the problem by adding a dependency on DVB_CORE - this
    is used by other drivers such as au0828 as well. This way the pvrusb2
    driver can still be built, but if dvb-core is a module then it will
    correctly be a module as well and cannot be built-in.

    Signed-off-by: Ingo Molnar <>
    drivers/media/video/pvrusb2/Kconfig | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    Index: linux/drivers/media/video/pvrusb2/Kconfig
    --- linux.orig/drivers/media/video/pvrusb2/Kconfig
    +++ linux/drivers/media/video/pvrusb2/Kconfig
    @@ -1,6 +1,6 @@
    config VIDEO_PVRUSB2
    tristate "Hauppauge WinTV-PVR USB2 support"
    - depends on VIDEO_V4L2 && I2C
    + depends on VIDEO_V4L2 && I2C && DVB_CORE
    select FW_LOADER
    select MEDIA_TUNER

     \ /
      Last update: 2008-05-11 09:29    [W:0.021 / U:5.608 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site