diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-03-23 11:30:38 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-05-07 16:46:42 +0200 |
commit | e8e20f1f02eb34b4d446101547159418346b65d4 (patch) | |
tree | c4569d5b237237e3fbf0efecd8cebf931480f883 /drivers/media/usb/dvb-usb/Makefile | |
parent | [media] xilinx-vipp: remove unnecessary of_node_put (diff) | |
download | linux-e8e20f1f02eb34b4d446101547159418346b65d4.tar.xz linux-e8e20f1f02eb34b4d446101547159418346b65d4.zip |
[media] dvb-usb: hide unused functions
A couple of data structures in the dibusb-common file are only
accessed when CONFIG_DVB_DIB3000MC is enabled, otherwise we
get a harmless gcc warning:
usb/dvb-usb/dibusb-common.c:223:34: error: 'dib3000p_panasonic_agc_config' defined but not used
usb/dvb-usb/dibusb-common.c:211:32: error: 'stk3000p_dib3000p_config' defined but not used
This moves the existing #ifdef a few lines up to correctly cover
all the conditional data structures, which gets rid of the warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb/Makefile')
0 files changed, 0 insertions, 0 deletions