forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/drivers/media/usb/dvb-usb/m920x.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /* DVB USB compliant linux driver for MSI Mega Sky 580 DVB-T USB2.0 receiver
23 *
34 * Copyright (C) 2006 Aapo Tahkola (aet@rasterburn.org)
45 *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms of the GNU General Public License as published by the
7
- * Free Software Foundation, version 2.
8
- *
9
- * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
6
+ * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
107 */
118
129 #include "m920x.h"
....@@ -472,8 +469,8 @@
472469
473470 /* Callbacks for DVB USB */
474471 static int m920x_identify_state(struct usb_device *udev,
475
- struct dvb_usb_device_properties *props,
476
- struct dvb_usb_device_description **desc,
472
+ const struct dvb_usb_device_properties *props,
473
+ const struct dvb_usb_device_description **desc,
477474 int *cold)
478475 {
479476 struct usb_host_interface *alt;