1. 23 9月, 2009 3 次提交
    • M
      V4L/DVB (13038): dvbdev: Remove an anoying/uneeded warning · d4c02ef9
      Mauro Carvalho Chehab 提交于
      As pointed by Marcin Slusarz <marcin.slusarz@gmail.com>, the warns happens
      because CONFIG_DVB_MAX_ADAPTERS depends on CONFIG_DVB_CORE, and there are
      valid configs where DVB_CORE is not selected.
      
      This causes such warnings, for every V4L and common drivers that may or
      may not be compiled with DVB support:
      
      drivers/media/dvb/dvb-core/dvbdev.h:36:2: warning: #warning invalid CONFIG_DVB_MAX_ADAPTERS value
      
      We can safely remove the warning.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d4c02ef9
    • M
      V4L/DVB (13037): go7007: Revert compatibility code added at the wrong place · 18039ae9
      Mauro Carvalho Chehab 提交于
      Compatibility code is not allowed upstream. While this could
      eventually be useful by out-of-tree compilation, directly from
      http://linuxtv.org/hg/v4l-dvb tree, the compatibility code is at
      the wrong place. In a matter of fact, it is not needed at all, since
      compat.h already handles such things.
      
      Cc: Pete <pete@sensoray.com>
      Cc: Douglas Schilling Landgraf <dougsland@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      18039ae9
    • I
      media: video: Fix build in saa7164 · b1912a85
      Ingo Molnar 提交于
      -tip testing found that the x86 build (64-bit allyesconfig) fails due to:
      
        LD      vmlinux.o
        drivers/built-in.o:(.bss+0x4b648): multiple definition of `debug'
        arch/x86/built-in.o:(.kprobes.text+0x88): first defined here
        ld: Warning: size of symbol `debug' changed from 90 in
      arch/x86/built-in.o to 4 in drivers/built-in.o
       make: *** [vmlinux.o] Error 1
      
      This is because recent saa7164 changes introduced a global symbol
      named 'debug'. The x86 platform code already defines a 'debug'
      symbol. (which is named in a too generic way as well - but it
      can be used nicely to weed out too generic symbols in drivers ;-)
      
      Rename it to saa_debug.
      
      [mchehab@redhat.com: use module_param_named to preserve old name]
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      b1912a85
  2. 22 9月, 2009 37 次提交