hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/media/dvb-frontends/dib3000mb.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Frontend driver for mobile DVB-T demodulator DiBcom 3000M-B
34 * DiBcom (http://www.dibcom.fr/)
....@@ -8,17 +9,12 @@
89 *
910 * Copyright (C) 2004 Amaury Demol for DiBcom
1011 *
11
- * This program is free software; you can redistribute it and/or
12
- * modify it under the terms of the GNU General Public License as
13
- * published by the Free Software Foundation, version 2.
14
- *
1512 * Acknowledgements
1613 *
1714 * Amaury Demol from DiBcom for providing specs and driver
1815 * sources, on which this driver (and the dvb-dibusb) are based.
1916 *
20
- * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
21
- *
17
+ * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
2218 */
2319
2420 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
....@@ -228,7 +224,7 @@
228224 switch (c->hierarchy) {
229225 case HIERARCHY_NONE:
230226 deb_setf("hierarchy: none\n");
231
- /* fall through */
227
+ fallthrough;
232228 case HIERARCHY_1:
233229 deb_setf("hierarchy: alpha=1\n");
234230 wr(DIB3000MB_REG_VIT_ALPHA, DIB3000_ALPHA_1);
....@@ -819,4 +815,4 @@
819815 MODULE_DESCRIPTION(DRIVER_DESC);
820816 MODULE_LICENSE("GPL");
821817
822
-EXPORT_SYMBOL(dib3000mb_attach);
818
+EXPORT_SYMBOL_GPL(dib3000mb_attach);