We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e602898 commit 79e070cCopy full SHA for 79e070c
drivers/media/i2c/ov5695.c
@@ -1267,8 +1267,7 @@ static int ov5695_configure_regulators(struct ov5695 *ov5695)
1267
ov5695->supplies);
1268
}
1269
1270
-static int ov5695_probe(struct i2c_client *client,
1271
- const struct i2c_device_id *id)
+static int ov5695_probe(struct i2c_client *client)
1272
{
1273
struct device *dev = &client->dev;
1274
struct ov5695 *ov5695;
@@ -1393,7 +1392,7 @@ static struct i2c_driver ov5695_i2c_driver = {
1393
1392
.pm = &ov5695_pm_ops,
1394
.of_match_table = of_match_ptr(ov5695_of_match),
1395
},
1396
- .probe = &ov5695_probe,
+ .probe_new = &ov5695_probe,
1397
.remove = &ov5695_remove,
1398
};
1399
0 commit comments