hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/i2c/mt9v032.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Driver for MT9V022, MT9V024, MT9V032, and MT9V034 CMOS Image Sensors
34 *
....@@ -6,10 +7,6 @@
67 * Based on the MT9M001 driver,
78 *
89 * Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License version 2 as
12
- * published by the Free Software Foundation.
1310 */
1411
1512 #include <linux/clk.h>
....@@ -995,7 +992,7 @@
995992 mt9v032_get_pdata(struct i2c_client *client)
996993 {
997994 struct mt9v032_platform_data *pdata = NULL;
998
- struct v4l2_fwnode_endpoint endpoint;
995
+ struct v4l2_fwnode_endpoint endpoint = { .bus_type = 0 };
999996 struct device_node *np;
1000997 struct property *prop;
1001998