forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/media/dvb-frontends/lg2160.c
....@@ -1,18 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Support for LG2160 - ATSC/MH
34 *
45 * Copyright (C) 2010 Michael Krufky <mkrufky@linuxtv.org>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
166 */
177
188 #include <linux/jiffies.h>
....@@ -1418,7 +1408,7 @@
14181408 switch (config->lg_chip) {
14191409 default:
14201410 lg_warn("invalid chip requested, defaulting to LG2160");
1421
- /* fall-thru */
1411
+ fallthrough;
14221412 case LG2160:
14231413 memcpy(&state->frontend.ops, &lg2160_ops,
14241414 sizeof(struct dvb_frontend_ops));
....@@ -1436,7 +1426,7 @@
14361426
14371427 return &state->frontend;
14381428 }
1439
-EXPORT_SYMBOL(lg2160_attach);
1429
+EXPORT_SYMBOL_GPL(lg2160_attach);
14401430
14411431 MODULE_DESCRIPTION("LG Electronics LG216x ATSC/MH Demodulator Driver");
14421432 MODULE_AUTHOR("Michael Krufky <mkrufky@linuxtv.org>");