summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb/m920x.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2020-04-14 12:10:43 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-21 12:56:10 +0200
commitd27958df93026a0768dd0394a200c09e78388f31 (patch)
treee875ab65a0e8c0419c928e6337942d4ab5c7fe88 /drivers/media/usb/dvb-usb/m920x.c
parent96f3a9392799dd0f6472648a7366622ffd0989f3 (diff)
downloadlinux-stable-d27958df93026a0768dd0394a200c09e78388f31.tar.gz
linux-stable-d27958df93026a0768dd0394a200c09e78388f31.tar.bz2
linux-stable-d27958df93026a0768dd0394a200c09e78388f31.zip
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/m920x.c')
-rw-r--r--drivers/media/usb/dvb-usb/m920x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/usb/dvb-usb/m920x.c b/drivers/media/usb/dvb-usb/m920x.c
index b8b99be5564b..4bb5b82599a7 100644
--- a/drivers/media/usb/dvb-usb/m920x.c
+++ b/drivers/media/usb/dvb-usb/m920x.c
@@ -459,8 +459,8 @@ static int m920x_firmware_download(struct usb_device *udev, const struct firmwar
/* Callbacks for DVB USB */
static int m920x_identify_state(struct usb_device *udev,
- struct dvb_usb_device_properties *props,
- struct dvb_usb_device_description **desc,
+ const struct dvb_usb_device_properties *props,
+ const struct dvb_usb_device_description **desc,
int *cold)
{
struct usb_host_interface *alt;