hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/media/usb/dvb-usb/dib0700_core.c
....@@ -1,8 +1,5 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /* Linux driver for devices based on the DiBcom DiB0700 USB bridge
2
- *
3
- * This program is free software; you can redistribute it and/or modify it
4
- * under the terms of the GNU General Public License as published by the Free
5
- * Software Foundation, version 2.
63 *
74 * Copyright (C) 2005-6 DiBcom, SA
85 */
....@@ -375,8 +372,10 @@
375372 .functionality = dib0700_i2c_func,
376373 };
377374
378
-int dib0700_identify_state(struct usb_device *udev, struct dvb_usb_device_properties *props,
379
- struct dvb_usb_device_description **desc, int *cold)
375
+int dib0700_identify_state(struct usb_device *udev,
376
+ const struct dvb_usb_device_properties *props,
377
+ const struct dvb_usb_device_description **desc,
378
+ int *cold)
380379 {
381380 s16 ret;
382381 u8 *b;