forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/media/dvb-frontends/ds3000.c
....@@ -1,22 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 Montage Technology DS3000 - DVBS/S2 Demodulator driver
34 Copyright (C) 2009-2012 Konstantin Dimitrov <kosio.dimitrov@gmail.com>
45
56 Copyright (C) 2009-2012 TurboSight.com
67
7
- This program is free software; you can redistribute it and/or modify
8
- it under the terms of the GNU General Public License as published by
9
- the Free Software Foundation; either version 2 of the License, or
10
- (at your option) any later version.
11
-
12
- This program is distributed in the hope that it will be useful,
13
- but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- GNU General Public License for more details.
16
-
17
- You should have received a copy of the GNU General Public License
18
- along with this program; if not, write to the Free Software
19
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
208 */
219
2210 #include <linux/slab.h>
....@@ -871,7 +859,7 @@
871859 ds3000_set_voltage(&state->frontend, SEC_VOLTAGE_OFF);
872860 return &state->frontend;
873861 }
874
-EXPORT_SYMBOL(ds3000_attach);
862
+EXPORT_SYMBOL_GPL(ds3000_attach);
875863
876864 static int ds3000_set_carrier_offset(struct dvb_frontend *fe,
877865 s32 carrier_offset_khz)
....@@ -914,7 +902,7 @@
914902 /* ds3000 global reset */
915903 ds3000_writereg(state, 0x07, 0x80);
916904 ds3000_writereg(state, 0x07, 0x00);
917
- /* ds3000 build-in uC reset */
905
+ /* ds3000 built-in uC reset */
918906 ds3000_writereg(state, 0xb2, 0x01);
919907 /* ds3000 software reset */
920908 ds3000_writereg(state, 0x00, 0x01);
....@@ -1023,7 +1011,7 @@
10231011
10241012 /* ds3000 out of software reset */
10251013 ds3000_writereg(state, 0x00, 0x00);
1026
- /* start ds3000 build-in uC */
1014
+ /* start ds3000 built-in uC */
10271015 ds3000_writereg(state, 0xb2, 0x00);
10281016
10291017 if (fe->ops.tuner_ops.get_frequency) {