| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Driver for the MaxLinear MxL5xx family of tuners/demods |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 17 | 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 18 | 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 19 | 20 | * GNU General Public License for more details. |
|---|
| 20 | | - * |
|---|
| 21 | 21 | */ |
|---|
| 22 | 22 | |
|---|
| 23 | 23 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 27 | 27 | #include <linux/delay.h> |
|---|
| 28 | 28 | #include <linux/firmware.h> |
|---|
| 29 | 29 | #include <linux/i2c.h> |
|---|
| 30 | | -#include <linux/version.h> |
|---|
| 31 | 30 | #include <linux/mutex.h> |
|---|
| 32 | 31 | #include <linux/vmalloc.h> |
|---|
| 33 | 32 | #include <asm/div64.h> |
|---|
| .. | .. |
|---|
| 739 | 738 | default: |
|---|
| 740 | 739 | break; |
|---|
| 741 | 740 | } |
|---|
| 741 | + fallthrough; |
|---|
| 742 | 742 | case SYS_DVBS: |
|---|
| 743 | 743 | switch ((enum MXL_HYDRA_MODULATION_E) |
|---|
| 744 | 744 | reg_data[DMD_MODULATION_SCHEME_ADDR]) { |
|---|
| .. | .. |
|---|
| 780 | 780 | return 0; |
|---|
| 781 | 781 | } |
|---|
| 782 | 782 | |
|---|
| 783 | | -static struct dvb_frontend_ops mxl_ops = { |
|---|
| 783 | +static const struct dvb_frontend_ops mxl_ops = { |
|---|
| 784 | 784 | .delsys = { SYS_DVBS, SYS_DVBS2, SYS_DSS }, |
|---|
| 785 | 785 | .info = { |
|---|
| 786 | 786 | .name = "MaxLinear MxL5xx DVB-S/S2 tuner-demodulator", |
|---|
| .. | .. |
|---|
| 1893 | 1893 | |
|---|
| 1894 | 1894 | MODULE_DESCRIPTION("MaxLinear MxL5xx DVB-S/S2 tuner-demodulator driver"); |
|---|
| 1895 | 1895 | MODULE_AUTHOR("Ralph and Marcus Metzler, Metzler Brothers Systementwicklung GbR"); |
|---|
| 1896 | | -MODULE_LICENSE("GPL"); |
|---|
| 1896 | +MODULE_LICENSE("GPL v2"); |
|---|