.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Sony CXD2820R demodulator driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2010 Antti Palosaari <crope@iki.fi> |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License as published by |
---|
8 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
9 | | - * (at your option) any later version. |
---|
10 | | - * |
---|
11 | | - * This program is distributed in the hope that it will be useful, |
---|
12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | | - * GNU General Public License for more details. |
---|
15 | | - * |
---|
16 | | - * You should have received a copy of the GNU General Public License along |
---|
17 | | - * with this program; if not, write to the Free Software Foundation, Inc., |
---|
18 | | - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
---|
19 | 6 | */ |
---|
20 | 7 | |
---|
21 | 8 | |
---|
.. | .. |
---|
399 | 386 | struct cxd2820r_priv *priv = fe->demodulator_priv; |
---|
400 | 387 | struct i2c_client *client = priv->client[0]; |
---|
401 | 388 | int ret; |
---|
402 | | - struct reg_val_mask tab[] = { |
---|
| 389 | + static const struct reg_val_mask tab[] = { |
---|
403 | 390 | { 0x000ff, 0x1f, 0xff }, |
---|
404 | 391 | { 0x00085, 0x00, 0xff }, |
---|
405 | 392 | { 0x00088, 0x01, 0xff }, |
---|