hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/dvb-frontends/mxl5xx.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * Driver for the MaxLinear MxL5xx family of tuners/demods
34 *
....@@ -17,7 +18,6 @@
1718 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1819 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1920 * GNU General Public License for more details.
20
- *
2121 */
2222
2323 #include <linux/kernel.h>
....@@ -27,7 +27,6 @@
2727 #include <linux/delay.h>
2828 #include <linux/firmware.h>
2929 #include <linux/i2c.h>
30
-#include <linux/version.h>
3130 #include <linux/mutex.h>
3231 #include <linux/vmalloc.h>
3332 #include <asm/div64.h>
....@@ -739,6 +738,7 @@
739738 default:
740739 break;
741740 }
741
+ fallthrough;
742742 case SYS_DVBS:
743743 switch ((enum MXL_HYDRA_MODULATION_E)
744744 reg_data[DMD_MODULATION_SCHEME_ADDR]) {
....@@ -780,7 +780,7 @@
780780 return 0;
781781 }
782782
783
-static struct dvb_frontend_ops mxl_ops = {
783
+static const struct dvb_frontend_ops mxl_ops = {
784784 .delsys = { SYS_DVBS, SYS_DVBS2, SYS_DSS },
785785 .info = {
786786 .name = "MaxLinear MxL5xx DVB-S/S2 tuner-demodulator",
....@@ -1893,4 +1893,4 @@
18931893
18941894 MODULE_DESCRIPTION("MaxLinear MxL5xx DVB-S/S2 tuner-demodulator driver");
18951895 MODULE_AUTHOR("Ralph and Marcus Metzler, Metzler Brothers Systementwicklung GbR");
1896
-MODULE_LICENSE("GPL");
1896
+MODULE_LICENSE("GPL v2");