X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fdrivers%2Fmedia%2Fi2c%2Fmt9v032.c;h=a68ce94ee097604a26f6b3dca6664ab977e66759;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=977f4006edbd496dfa9d45a7e0f4f2ab6dfc40c0;hpb=f93b97fd65072de626c074dbe099a1fff05ce060;p=kvmfornfv.git diff --git a/kernel/drivers/media/i2c/mt9v032.c b/kernel/drivers/media/i2c/mt9v032.c index 977f4006e..a68ce94ee 100644 --- a/kernel/drivers/media/i2c/mt9v032.c +++ b/kernel/drivers/media/i2c/mt9v032.c @@ -882,7 +882,7 @@ static const struct regmap_config mt9v032_regmap_config = { static struct mt9v032_platform_data * mt9v032_get_pdata(struct i2c_client *client) { - struct mt9v032_platform_data *pdata; + struct mt9v032_platform_data *pdata = NULL; struct v4l2_of_endpoint endpoint; struct device_node *np; struct property *prop;