linux/drivers/media/pci
Mauro Carvalho Chehab 098af4bde0 [media] sta2x11_vip: Fix compilation if I2C is not set
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: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-04-16 20:06:34 -03:00
..
b2c2
bt8xx Linux 3.9-rc5 2013-04-01 09:54:14 -03:00
cx18 [media] ioctl numbers are unsigned int 2013-03-29 08:18:36 -03:00
cx88 [media] cx88: kernel bz#9476: Fix tone setting for Nova-S+ model 92001 2013-04-08 06:56:47 -03:00
cx23885 [media] v4l2: add const to argument of write-only s_register ioctl 2013-03-24 08:47:01 -03:00
cx25821 [media] v4l2: add const to argument of write-only s_register ioctl 2013-03-24 08:47:01 -03:00
ddbridge Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
dm1105 Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
ivtv [media] ioctl numbers are unsigned int 2013-03-29 08:18:36 -03:00
mantis Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
meye [media] ioctl numbers are unsigned int 2013-03-29 08:18:36 -03:00
ngene Merge branch 'v4l_for_linus' into staging/for_v3.9 2013-01-24 18:49:18 -02:00
pluto2 Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
pt1 Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
saa7134 [media] saa7134: v4l2-compliance: clear reserved part of VBI structure 2013-04-14 19:41:34 -03:00
saa7146 [media] v4l2: add const to argument of write-only s_register ioctl 2013-03-24 08:47:01 -03:00
saa7164 [media] v4l2: add const to argument of write-only s_register ioctl 2013-03-24 08:47:01 -03:00
sta2x11 [media] sta2x11_vip: Fix compilation if I2C is not set 2013-04-16 20:06:34 -03:00
ttpci [media] budget: Add support for Philips Semi Sylt PCI ref. design 2013-04-08 07:28:01 -03:00
zoran [media] zoran: Don't print proc_dir_entry data in debug [RFC] 2013-04-16 18:27:44 -03:00
Kconfig
Makefile