hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/media/dvb-frontends/stv0288.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 Driver for ST STV0288 demodulator
34 Copyright (C) 2006 Georg Acher, BayCom GmbH, acher (at) baycom (dot) de
....@@ -9,19 +10,6 @@
910 2010-09-01 Josef Pavlik <josef@pavlik.it>
1011 Fixed diseqc_msg, diseqc_burst and set_tone problems
1112
12
- This program is free software; you can redistribute it and/or modify
13
- it under the terms of the GNU General Public License as published by
14
- the Free Software Foundation; either version 2 of the License, or
15
- (at your option) any later version.
16
-
17
- This program is distributed in the hope that it will be useful,
18
- but WITHOUT ANY WARRANTY; without even the implied warranty of
19
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
- GNU General Public License for more details.
21
-
22
- You should have received a copy of the GNU General Public License
23
- along with this program; if not, write to the Free Software
24
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2513
2614 */
2715
....@@ -452,9 +440,8 @@
452440 struct stv0288_state *state = fe->demodulator_priv;
453441 struct dtv_frontend_properties *c = &fe->dtv_property_cache;
454442
455
- char tm;
456
- unsigned char tda[3];
457
- u8 reg, time_out = 0;
443
+ u8 tda[3], reg, time_out = 0;
444
+ s8 tm;
458445
459446 dprintk("%s : FE_SET_FRONTEND\n", __func__);
460447
....@@ -603,7 +590,7 @@
603590
604591 return NULL;
605592 }
606
-EXPORT_SYMBOL(stv0288_attach);
593
+EXPORT_SYMBOL_GPL(stv0288_attach);
607594
608595 module_param(debug_legacy_dish_switch, int, 0444);
609596 MODULE_PARM_DESC(debug_legacy_dish_switch,