1. 22 Apr, 2013 6 commits
  2. 17 Apr, 2013 3 commits
  3. 16 Apr, 2013 6 commits
    • Mauro Carvalho Chehab's avatar
      [media] sta2x11_vip: Fix compilation if I2C is not set · 098af4bd
      Mauro Carvalho Chehab authored
      From Fengguang Wu <fengguang.wu@intel.com>:
      
      > drivers/media/pci/sta2x11/sta2x11_vip.c: In function 'sta2x11_vip_init_one':
      > drivers/media/pci/sta2x11/sta2x11_vip.c:1314:2: error: implicit declaration of function 'i2c_get_adapter' [-Werror=implicit-function-declaration]
      > drivers/media/pci/sta2x11/sta2x11_vip.c:1314:15: warning: assignment makes pointer from integer without a cast [enabled by default]
      > drivers/media/pci/sta2x11/sta2x11_vip.c:1330:2: error: implicit declaration of function 'i2c_put_adapter' [-Werror=implicit-function-declaration]
      
      And also:
      
      > warning: (STA2X11_VIP) selects VIDEO_ADV7180 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_V4L2 && I2C)
      > drivers/media/i2c/adv7180.c: In function '__adv7180_status':
      > drivers/media/i2c/adv7180.c:194:2: error: implicit declaration of function 'i2c_smbus_read_byte_data' [-Werror=implicit-function-declaration]
      > drivers/media/i2c/adv7180.c: In function 'adv7180_s_routing':
      > drivers/media/i2c/adv7180.c:251:2: error: implicit declaration of function 'i2c_smbus_write_byte_data' [-Werror=implicit-function-declaration]
      > drivers/media/i2c/adv7180.c: In function 'adv7180_probe':
      > drivers/media/i2c/adv7180.c:551:2: error: implicit declaration of function 'i2c_check_functionality' [-Werror=implicit-function-declaration]
      > drivers/media/i2c/adv7180.c:554:2: error: implicit declaration of function 'i2c_adapter_id' [-Werror=implicit-function-declaration]
      > drivers/media/i2c/adv7180.c: At top level:
      > drivers/media/i2c/adv7180.c:663:1: warning: data definition has no type or storage class [enabled by default]
      > drivers/media/i2c/adv7180.c:663:1: warning: type defaults to 'int' in declaration of 'module_i2c_driver' [-Wimplicit-int]
      > drivers/media/i2c/adv7180.c:663:1: warning: parameter names (without types) in function declaration [enabled by default]
      > drivers/media/i2c/adv7180.c:649:26: warning: 'adv7180_driver' defined but not used [-Wunused-variable]
      
      This is due to the lack of I2C support:
      
      ...
      > CONFIG_I2C is not set
      ...
      
      So, Make sure that sta2x11_vip depends on I2C.
      Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      098af4bd
    • Mauro Carvalho Chehab's avatar
      [media] it913x: rename its tuner driver to tuner_it913x · 99ca5557
      Mauro Carvalho Chehab authored
      There are three drivers with *it913x name on it, and they all
      belong to the same device:
      	a tuner, at it913x.c;
      	a frontend: it913x-fe.c;
      	a bridge: it913x.c, renamed to dvb_usb_it913x by the
      building system.
      
      This is confusing. Even more confusing are the two .c files with
      the same name under different directories, with different contents
      and different functions. So, prepend the tuner one.
      
      This also breaks the out-of-tree compilation system.
      Reported-by: default avatarFrederic Fays <frederic.fays@gmail.com>
      Acked-by: default avatarAntti Palosaari <crope@iki.fi>
      Reviewed-by: default avatarAntti Palosaari <crope@iki.fi>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      99ca5557
    • William Steidtmann's avatar
      [media] mceusb: add some missing cmd sizes · 76dea4cf
      William Steidtmann authored
      Fix mceusb_cmdsize() which returns incorrect datasize=0 for
      sub-commands MCE_RSP_GETPORTSTATUS, MCE_RSP_GETWAKESOURCE,
      MCE_RSP_EQDEVDETAILS, MCE_RSP_EQEMVER, and MCE_RSP_EQIRNUMPORTS.
      
      While here, change mceusb_cmdsize() name to reflect that it returns
      data size not cmd size.
      Signed-off-by: default avatarWilliam Steidtmann <billstei@hbci.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      76dea4cf
    • David Howells's avatar
      [media] zoran: Don't print proc_dir_entry data in debug [RFC] · bebe3c69
      David Howells authored
      Don't print proc_dir_entry data in debug as we're soon to have no direct
      access to the contents of the PDE.  Print what was put in there instead.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      bebe3c69
    • Randy Dunlap's avatar
      [media] staging/media: fix go7007 dependencies and build · 16b196e5
      Randy Dunlap authored
      VIDEO_GO7007 uses usb interfaces so it should depend on USB.
      It also selects CYPRESS_FIRMWARE, which depends on USB.
      Fixes build errors and a kconfig warning:
      go7007-loader.c:(.text+0xcc7d0): undefined reference to `usb_get_dev'
      go7007-loader.c:(.init.text+0x49f0): undefined reference to `usb_register_driver'
      go7007-loader.c:(.exit.text+0x17ce): undefined reference to `usb_deregister'
      warning: (DVB_USB_AZ6007 && VIDEO_GO7007) selects CYPRESS_FIRMWARE which has unmet direct dependencies (MEDIA_SUPPORT && USB)
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      16b196e5
    • Michal Marek's avatar
      [media] em28xx: Put remaining .vidioc_g_chip_info instance under ADV_DEBUG · 430c73fa
      Michal Marek authored
      Commit cd634f1b ("[media] v4l2: put VIDIOC_DBG_G_CHIP_NAME under
      ADV_DEBUG") missed the initializer of radio_ioctl_ops:
      drivers/media/usb/em28xx/em28xx-video.c:1830:2: error: unknown field 'vidioc_g_chip_info' specified in initializer
      drivers/media/usb/em28xx/em28xx-video.c:1830:26: error: 'vidioc_g_chip_info' undeclared here (not in a function)
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      430c73fa
  4. 15 Apr, 2013 12 commits
  5. 14 Apr, 2013 13 commits