.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * budget-av.c: driver for the SAA7146 based Budget DVB cards |
---|
3 | 4 | * with analog video in |
---|
.. | .. |
---|
11 | 12 | * |
---|
12 | 13 | * Copyright (C) 1999-2002 Ralph Metzler |
---|
13 | 14 | * & Marcus Metzler for convergence integrated media GmbH |
---|
14 | | - * |
---|
15 | | - * This program is free software; you can redistribute it and/or |
---|
16 | | - * modify it under the terms of the GNU General Public License |
---|
17 | | - * as published by the Free Software Foundation; either version 2 |
---|
18 | | - * of the License, or (at your option) any later version. |
---|
19 | | - * |
---|
20 | | - * |
---|
21 | | - * This program is distributed in the hope that it will be useful, |
---|
22 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
23 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
24 | | - * GNU General Public License for more details. |
---|
25 | | - * |
---|
26 | | - * To obtain the license, point your browser to |
---|
27 | | - * http://www.gnu.org/copyleft/gpl.html |
---|
28 | | - * |
---|
29 | 15 | * |
---|
30 | 16 | * the project's page is at https://linuxtv.org |
---|
31 | 17 | */ |
---|
.. | .. |
---|
1240 | 1226 | * but so far it has been only confirmed for this type |
---|
1241 | 1227 | */ |
---|
1242 | 1228 | budget_av->reinitialise_demod = 1; |
---|
1243 | | - /* fall through */ |
---|
| 1229 | + fallthrough; |
---|
1244 | 1230 | case SUBID_DVBS_KNC1_PLUS: |
---|
1245 | 1231 | case SUBID_DVBS_EASYWATCH_1: |
---|
1246 | 1232 | if (saa->pci->subsystem_vendor == 0x1894) { |
---|
.. | .. |
---|
1484 | 1470 | vv_data.vid_ops.vidioc_g_input = vidioc_g_input; |
---|
1485 | 1471 | vv_data.vid_ops.vidioc_s_input = vidioc_s_input; |
---|
1486 | 1472 | |
---|
1487 | | - if ((err = saa7146_register_device(&budget_av->vd, dev, "knc1", VFL_TYPE_GRABBER))) { |
---|
| 1473 | + if ((err = saa7146_register_device(&budget_av->vd, dev, "knc1", VFL_TYPE_VIDEO))) { |
---|
1488 | 1474 | /* fixme: proper cleanup here */ |
---|
1489 | 1475 | ERR("cannot register capture v4l2 device\n"); |
---|
1490 | 1476 | saa7146_vv_release(dev); |
---|