diff options
author | Sean Young <sean@mess.org> | 2020-04-14 12:10:43 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-04-21 12:56:10 +0200 |
commit | d27958df93026a0768dd0394a200c09e78388f31 (patch) | |
tree | e875ab65a0e8c0419c928e6337942d4ab5c7fe88 /drivers/media/usb/dvb-usb/dw2102.c | |
parent | 96f3a9392799dd0f6472648a7366622ffd0989f3 (diff) | |
download | linux-d27958df93026a0768dd0394a200c09e78388f31.tar.gz linux-d27958df93026a0768dd0394a200c09e78388f31.tar.bz2 linux-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/dw2102.c')
-rw-r--r-- | drivers/media/usb/dvb-usb/dw2102.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/usb/dvb-usb/dw2102.c b/drivers/media/usb/dvb-usb/dw2102.c index 594a763b46cf..f6d2d2398db6 100644 --- a/drivers/media/usb/dvb-usb/dw2102.c +++ b/drivers/media/usb/dvb-usb/dw2102.c @@ -955,8 +955,8 @@ static int su3000_read_mac_address(struct dvb_usb_device *d, u8 mac[6]) } static int su3000_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) { info("%s", __func__); |