.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Support for the sensor part which is integrated (I think) into the |
---|
3 | 4 | * st6422 stv06xx alike bridge, as its integrated there are no i2c writes |
---|
.. | .. |
---|
9 | 10 | * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher |
---|
10 | 11 | * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland |
---|
11 | 12 | * Copyright (c) 2002, 2003 Tuukka Toivonen |
---|
12 | | - * |
---|
13 | | - * This program is free software; you can redistribute it and/or modify |
---|
14 | | - * it under the terms of the GNU General Public License as published by |
---|
15 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
16 | | - * (at your option) any later version. |
---|
17 | | - * |
---|
18 | | - * This program is distributed in the hope that it will be useful, |
---|
19 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
20 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
21 | | - * GNU General Public License for more details. |
---|
22 | | - * |
---|
23 | 13 | */ |
---|
24 | 14 | |
---|
25 | 15 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
.. | .. |
---|
127 | 117 | { |
---|
128 | 118 | int err = 0, i; |
---|
129 | 119 | |
---|
130 | | - const u16 st6422_bridge_init[][2] = { |
---|
| 120 | + static const u16 st6422_bridge_init[][2] = { |
---|
131 | 121 | { STV_ISO_ENABLE, 0x00 }, /* disable capture */ |
---|
132 | 122 | { 0x1436, 0x00 }, |
---|
133 | 123 | { 0x1432, 0x03 }, /* 0x00-0x1F brightness */ |
---|