Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] cx24123/mb86a20s/s921: fix compiler warnings

In file included from drivers/media/common/b2c2/flexcop-fe-tuner.c:13:0:
drivers/media/dvb-frontends/cx24123.h:54:2: warning: 'cx24123_get_tuner_i2c_adapter' defined but not used [-Wunused-function]
cx24123_get_tuner_i2c_adapter(struct dvb_frontend *fe)
^
In file included from drivers/media/usb/em28xx/em28xx-dvb.c:46:0:
drivers/media/dvb-frontends/s921.h:40:2: warning: 's921_get_tuner_i2c_adapter' defined but not used [-Wunused-function]
s921_get_tuner_i2c_adapter(struct dvb_frontend *fe)
^
In file included from drivers/media/usb/em28xx/em28xx-dvb.c:55:0:
drivers/media/dvb-frontends/mb86a20s.h:49:2: warning: 'mb86a20s_get_tuner_i2c_adapter' defined but not used [-Wunused-function]
mb86a20s_get_tuner_i2c_adapter(struct dvb_frontend *fe)
^
In file included from drivers/media/usb/cx231xx/cx231xx-dvb.c:35:0:
drivers/media/dvb-frontends/mb86a20s.h:49:2: warning: 'mb86a20s_get_tuner_i2c_adapter' defined but not used [-Wunused-function]
mb86a20s_get_tuner_i2c_adapter(struct dvb_frontend *fe)
^

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

authored by

Hans Verkuil and committed by
Mauro Carvalho Chehab
8b012fc9 7e0d4e92

+3 -3
+1 -1
drivers/media/dvb-frontends/cx24123.h
··· 50 50 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 51 51 return NULL; 52 52 } 53 - static struct i2c_adapter * 53 + static inline struct i2c_adapter * 54 54 cx24123_get_tuner_i2c_adapter(struct dvb_frontend *fe) 55 55 { 56 56 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
+1 -1
drivers/media/dvb-frontends/mb86a20s.h
··· 45 45 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 46 46 return NULL; 47 47 } 48 - static struct i2c_adapter * 48 + static inline struct i2c_adapter * 49 49 mb86a20s_get_tuner_i2c_adapter(struct dvb_frontend *fe) 50 50 { 51 51 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
+1 -1
drivers/media/dvb-frontends/s921.h
··· 36 36 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 37 37 return NULL; 38 38 } 39 - static struct i2c_adapter * 39 + static inline struct i2c_adapter * 40 40 s921_get_tuner_i2c_adapter(struct dvb_frontend *fe) 41 41 { 42 42 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);