hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/media/tuners/fc0011.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Fitipower FC0011 tuner driver
34 *
....@@ -5,16 +6,6 @@
56 *
67 * Derived from FC0012 tuner driver:
78 * Copyright (C) 2012 Hans-Frieder Vogt <hfvogt@gmx.net>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU General Public License for more details.
189 */
1910
2011 #include "fc0011.h"
....@@ -259,7 +250,7 @@
259250 dev_warn(&priv->i2c->dev, "Unsupported bandwidth %u kHz. Using 6000 kHz.\n",
260251 bandwidth);
261252 bandwidth = 6000;
262
- /* fallthrough */
253
+ fallthrough;
263254 case 6000:
264255 regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_BW6M;
265256 break;
....@@ -508,7 +499,7 @@
508499
509500 return fe;
510501 }
511
-EXPORT_SYMBOL(fc0011_attach);
502
+EXPORT_SYMBOL_GPL(fc0011_attach);
512503
513504 MODULE_DESCRIPTION("Fitipower FC0011 silicon tuner driver");
514505 MODULE_AUTHOR("Michael Buesch <m@bues.ch>");