.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * drivers/mfd/si476x-i2c.c -- Core device driver for si476x MFD |
---|
3 | 4 | * device |
---|
.. | .. |
---|
6 | 7 | * Copyright (C) 2013 Andrey Smirnov |
---|
7 | 8 | * |
---|
8 | 9 | * Author: Andrey Smirnov <andrew.smirnov@gmail.com> |
---|
9 | | - * |
---|
10 | | - * This program is free software; you can redistribute it and/or modify |
---|
11 | | - * it under the terms of the GNU General Public License as published by |
---|
12 | | - * the Free Software Foundation; version 2 of the License. |
---|
13 | | - * |
---|
14 | | - * This program is distributed in the hope that it will be useful, but |
---|
15 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
17 | | - * General Public License for more details. |
---|
18 | | - * |
---|
19 | 10 | */ |
---|
20 | 11 | #include <linux/module.h> |
---|
21 | 12 | |
---|
.. | .. |
---|
543 | 534 | /** |
---|
544 | 535 | * si476x_firmware_version_to_revision() |
---|
545 | 536 | * @core: Core device structure |
---|
| 537 | + * @func: Selects the boot function of the device: |
---|
| 538 | + * *_BOOTLOADER - Boot loader |
---|
| 539 | + * *_FM_RECEIVER - FM receiver |
---|
| 540 | + * *_AM_RECEIVER - AM receiver |
---|
| 541 | + * *_WB_RECEIVER - Weatherband receiver |
---|
546 | 542 | * @major: Firmware major number |
---|
547 | 543 | * @minor1: Firmware first minor number |
---|
548 | 544 | * @minor2: Firmware second minor number |
---|
.. | .. |
---|
592 | 588 | goto unknown_revision; |
---|
593 | 589 | } |
---|
594 | 590 | case SI476X_FUNC_BOOTLOADER: |
---|
595 | | - default: /* FALLTHROUG */ |
---|
| 591 | + default: /* FALLTHROUGH */ |
---|
596 | 592 | BUG(); |
---|
597 | 593 | return -1; |
---|
598 | 594 | } |
---|