[PATCH] media: lgdt330x: add inline to lgdt330x_attach function

2018-05-09 Thread Anders Roxell
struct lgdt330x_config *config, ^~~ The affected function should be "static inline" and not only static since the function is in a .h file. Fixes: 23ba635d45f5 ("media: lgdt330x: convert it to the new I2C binding way") Signed-off-by: Anders Roxell

[PATCH] media: usb: cx231xx-417: include linux/slab.h header

2018-05-08 Thread Anders Roxell
/cx231xx/cx231xx-417.c:1713:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion] fh = kzalloc(sizeof(*fh), GFP_KERNEL); ^ Signed-off-by: Anders Roxell --- drivers/media/usb/cx231xx/cx231xx-417.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media

[PATCH] drivers: media: platform: make VIDEO_VIU depend on I2C

2018-04-23 Thread Anders Roxell
tions work again. Signed-off-by: Anders Roxell --- drivers/media/platform/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 91b0c7324afb..56c205b44ee1 100644 --- a/drivers/media/platform/Kconfig +++ b/dri