| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * av7110_hw.c: av7110 low level hardware access and firmware interface |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * originally based on code by: |
|---|
| 8 | 9 | * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.de> |
|---|
| 9 | 10 | * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or |
|---|
| 11 | | - * modify it under the terms of the GNU General Public License |
|---|
| 12 | | - * as published by the Free Software Foundation; either version 2 |
|---|
| 13 | | - * of the License, or (at your option) any later version. |
|---|
| 14 | | - * |
|---|
| 15 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 16 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 17 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 18 | | - * GNU General Public License for more details. |
|---|
| 19 | | - * To obtain the license, point your browser to |
|---|
| 20 | | - * http://www.gnu.org/copyleft/gpl.html |
|---|
| 21 | | - * |
|---|
| 22 | 11 | * the project's page is at https://linuxtv.org |
|---|
| 23 | 12 | */ |
|---|
| 24 | 13 | |
|---|
| 25 | 14 | /* for debugging ARM communication: */ |
|---|
| 26 | 15 | //#define COM_DEBUG |
|---|
| 27 | 16 | |
|---|
| 28 | | -#include <stdarg.h> |
|---|
| 29 | 17 | #include <linux/types.h> |
|---|
| 30 | 18 | #include <linux/kernel.h> |
|---|
| 31 | 19 | #include <linux/string.h> |
|---|
| .. | .. |
|---|
| 1119 | 1107 | break; |
|---|
| 1120 | 1108 | case OSD_SetRow: |
|---|
| 1121 | 1109 | dc->y1 = dc->y0; |
|---|
| 1122 | | - /* fall through */ |
|---|
| 1110 | + fallthrough; |
|---|
| 1123 | 1111 | case OSD_SetBlock: |
|---|
| 1124 | 1112 | ret = OSDSetBlock(av7110, dc->x0, dc->y0, dc->x1, dc->y1, dc->color, dc->data); |
|---|
| 1125 | 1113 | break; |
|---|