.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | hexium_gemini.c - v4l2 driver for Hexium Gemini frame grabber cards |
---|
3 | 4 | |
---|
.. | .. |
---|
6 | 7 | |
---|
7 | 8 | Copyright (C) 2003 Michael Hunold <michael@mihu.de> |
---|
8 | 9 | |
---|
9 | | - This program is free software; you can redistribute it and/or modify |
---|
10 | | - it under the terms of the GNU General Public License as published by |
---|
11 | | - the Free Software Foundation; either version 2 of the License, or |
---|
12 | | - (at your option) any later version. |
---|
13 | | - |
---|
14 | | - This program is distributed in the hope that it will be useful, |
---|
15 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | | - GNU General Public License for more details. |
---|
18 | | - |
---|
19 | | - You should have received a copy of the GNU General Public License |
---|
20 | | - along with this program; if not, write to the Free Software |
---|
21 | | - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
22 | 10 | */ |
---|
23 | 11 | |
---|
24 | 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
.. | .. |
---|
306 | 294 | vv_data.vid_ops.vidioc_enum_input = vidioc_enum_input; |
---|
307 | 295 | vv_data.vid_ops.vidioc_g_input = vidioc_g_input; |
---|
308 | 296 | vv_data.vid_ops.vidioc_s_input = vidioc_s_input; |
---|
309 | | - ret = saa7146_register_device(&hexium->video_dev, dev, "hexium gemini", VFL_TYPE_GRABBER); |
---|
| 297 | + ret = saa7146_register_device(&hexium->video_dev, dev, "hexium gemini", VFL_TYPE_VIDEO); |
---|
310 | 298 | if (ret < 0) { |
---|
311 | 299 | pr_err("cannot register capture v4l2 device. skipping.\n"); |
---|
312 | 300 | saa7146_vv_release(dev); |
---|