.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Driver for MT9V022, MT9V024, MT9V032, and MT9V034 CMOS Image Sensors |
---|
3 | 4 | * |
---|
.. | .. |
---|
6 | 7 | * Based on the MT9M001 driver, |
---|
7 | 8 | * |
---|
8 | 9 | * 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. |
---|
13 | 10 | */ |
---|
14 | 11 | |
---|
15 | 12 | #include <linux/clk.h> |
---|
.. | .. |
---|
995 | 992 | mt9v032_get_pdata(struct i2c_client *client) |
---|
996 | 993 | { |
---|
997 | 994 | struct mt9v032_platform_data *pdata = NULL; |
---|
998 | | - struct v4l2_fwnode_endpoint endpoint; |
---|
| 995 | + struct v4l2_fwnode_endpoint endpoint = { .bus_type = 0 }; |
---|
999 | 996 | struct device_node *np; |
---|
1000 | 997 | struct property *prop; |
---|
1001 | 998 | |
---|