diff options
author | Sean Young <sean@mess.org> | 2020-04-14 13:10:43 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-04-21 13:56:10 +0300 |
commit | d27958df93026a0768dd0394a200c09e78388f31 (patch) | |
tree | e875ab65a0e8c0419c928e6337942d4ab5c7fe88 /drivers/media/usb/dvb-usb/dvb-usb-common.h | |
parent | 96f3a9392799dd0f6472648a7366622ffd0989f3 (diff) | |
download | linux-d27958df93026a0768dd0394a200c09e78388f31.tar.xz |
media: dvb-usb: make dvb_usb_device_properties const
This makes it possible to declare dvb_usb_device_properties const.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/usb/dvb-usb/dvb-usb-common.h')
-rw-r--r-- | drivers/media/usb/dvb-usb/dvb-usb-common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb/dvb-usb-common.h b/drivers/media/usb/dvb-usb/dvb-usb-common.h index 8c51ac4493dd..70f4eedd7c48 100644 --- a/drivers/media/usb/dvb-usb/dvb-usb-common.h +++ b/drivers/media/usb/dvb-usb/dvb-usb-common.h @@ -26,7 +26,8 @@ extern int dvb_usb_disable_rc_polling; #define deb_uxfer(args...) dprintk(dvb_usb_debug,0x100,args) /* commonly used methods */ -extern int dvb_usb_download_firmware(struct usb_device *, struct dvb_usb_device_properties *); +int dvb_usb_download_firmware(struct usb_device *udev, + const struct dvb_usb_device_properties *props); extern int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff); |