hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/i2c/tvp514x.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * drivers/media/i2c/tvp514x.c
34 *
....@@ -13,16 +14,6 @@
1314 * Manjunath Hadli <mrh@ti.com>
1415 * Karicheri Muralidharan <m-karicheri2@ti.com>
1516 * 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
- *
2617 */
2718
2819 #include <linux/i2c.h>
....@@ -67,7 +58,7 @@
6758 };
6859
6960 /**
70
- * struct tvp514x_std_info - Structure to store standard informations
61
+ * struct tvp514x_std_info - Structure to store standard information
7162 * @width: Line width in pixels
7263 * @height:Number of active lines
7364 * @video_std: Value to write in REG_VIDEO_STD register
....@@ -989,7 +980,7 @@
989980 tvp514x_get_pdata(struct i2c_client *client)
990981 {
991982 struct tvp514x_platform_data *pdata = NULL;
992
- struct v4l2_fwnode_endpoint bus_cfg;
983
+ struct v4l2_fwnode_endpoint bus_cfg = { .bus_type = 0 };
993984 struct device_node *endpoint;
994985 unsigned int flags;
995986