| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * drivers/media/i2c/tvp514x.c |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 13 | 14 | * Manjunath Hadli <mrh@ti.com> |
|---|
| 14 | 15 | * Karicheri Muralidharan <m-karicheri2@ti.com> |
|---|
| 15 | 16 | * Prabhakar Lad <prabhakar.lad@ti.com> |
|---|
| 16 | | - * |
|---|
| 17 | | - * This package is free software; you can redistribute it and/or modify |
|---|
| 18 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 19 | | - * published by the Free Software Foundation. |
|---|
| 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 | 17 | */ |
|---|
| 27 | 18 | |
|---|
| 28 | 19 | #include <linux/i2c.h> |
|---|
| .. | .. |
|---|
| 67 | 58 | }; |
|---|
| 68 | 59 | |
|---|
| 69 | 60 | /** |
|---|
| 70 | | - * struct tvp514x_std_info - Structure to store standard informations |
|---|
| 61 | + * struct tvp514x_std_info - Structure to store standard information |
|---|
| 71 | 62 | * @width: Line width in pixels |
|---|
| 72 | 63 | * @height:Number of active lines |
|---|
| 73 | 64 | * @video_std: Value to write in REG_VIDEO_STD register |
|---|
| .. | .. |
|---|
| 989 | 980 | tvp514x_get_pdata(struct i2c_client *client) |
|---|
| 990 | 981 | { |
|---|
| 991 | 982 | struct tvp514x_platform_data *pdata = NULL; |
|---|
| 992 | | - struct v4l2_fwnode_endpoint bus_cfg; |
|---|
| 983 | + struct v4l2_fwnode_endpoint bus_cfg = { .bus_type = 0 }; |
|---|
| 993 | 984 | struct device_node *endpoint; |
|---|
| 994 | 985 | unsigned int flags; |
|---|
| 995 | 986 | |
|---|