| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | Montage Technology DS3000 - DVBS/S2 Demodulator driver |
|---|
| 3 | 4 | Copyright (C) 2009-2012 Konstantin Dimitrov <kosio.dimitrov@gmail.com> |
|---|
| 4 | 5 | |
|---|
| 5 | 6 | Copyright (C) 2009-2012 TurboSight.com |
|---|
| 6 | 7 | |
|---|
| 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. |
|---|
| 20 | 8 | */ |
|---|
| 21 | 9 | |
|---|
| 22 | 10 | #include <linux/slab.h> |
|---|
| .. | .. |
|---|
| 871 | 859 | ds3000_set_voltage(&state->frontend, SEC_VOLTAGE_OFF); |
|---|
| 872 | 860 | return &state->frontend; |
|---|
| 873 | 861 | } |
|---|
| 874 | | -EXPORT_SYMBOL(ds3000_attach); |
|---|
| 862 | +EXPORT_SYMBOL_GPL(ds3000_attach); |
|---|
| 875 | 863 | |
|---|
| 876 | 864 | static int ds3000_set_carrier_offset(struct dvb_frontend *fe, |
|---|
| 877 | 865 | s32 carrier_offset_khz) |
|---|
| .. | .. |
|---|
| 914 | 902 | /* ds3000 global reset */ |
|---|
| 915 | 903 | ds3000_writereg(state, 0x07, 0x80); |
|---|
| 916 | 904 | ds3000_writereg(state, 0x07, 0x00); |
|---|
| 917 | | - /* ds3000 build-in uC reset */ |
|---|
| 905 | + /* ds3000 built-in uC reset */ |
|---|
| 918 | 906 | ds3000_writereg(state, 0xb2, 0x01); |
|---|
| 919 | 907 | /* ds3000 software reset */ |
|---|
| 920 | 908 | ds3000_writereg(state, 0x00, 0x01); |
|---|
| .. | .. |
|---|
| 1023 | 1011 | |
|---|
| 1024 | 1012 | /* ds3000 out of software reset */ |
|---|
| 1025 | 1013 | ds3000_writereg(state, 0x00, 0x00); |
|---|
| 1026 | | - /* start ds3000 build-in uC */ |
|---|
| 1014 | + /* start ds3000 built-in uC */ |
|---|
| 1027 | 1015 | ds3000_writereg(state, 0xb2, 0x00); |
|---|
| 1028 | 1016 | |
|---|
| 1029 | 1017 | if (fe->ops.tuner_ops.get_frequency) { |
|---|