| .. | .. |
|---|
| 532 | 532 | |
|---|
| 533 | 533 | static int ov5647_parse_dt(struct device_node *np) |
|---|
| 534 | 534 | { |
|---|
| 535 | | - struct v4l2_fwnode_endpoint bus_cfg; |
|---|
| 535 | + struct v4l2_fwnode_endpoint bus_cfg = { .bus_type = 0 }; |
|---|
| 536 | 536 | struct device_node *ep; |
|---|
| 537 | 537 | |
|---|
| 538 | 538 | int ret; |
|---|
| .. | .. |
|---|
| 547 | 547 | return ret; |
|---|
| 548 | 548 | } |
|---|
| 549 | 549 | |
|---|
| 550 | | -static int ov5647_probe(struct i2c_client *client, |
|---|
| 551 | | - const struct i2c_device_id *id) |
|---|
| 550 | +static int ov5647_probe(struct i2c_client *client) |
|---|
| 552 | 551 | { |
|---|
| 553 | 552 | struct device *dev = &client->dev; |
|---|
| 554 | 553 | struct ov5647 *sensor; |
|---|
| .. | .. |
|---|
| 644 | 643 | .of_match_table = of_match_ptr(ov5647_of_match), |
|---|
| 645 | 644 | .name = SENSOR_NAME, |
|---|
| 646 | 645 | }, |
|---|
| 647 | | - .probe = ov5647_probe, |
|---|
| 646 | + .probe_new = ov5647_probe, |
|---|
| 648 | 647 | .remove = ov5647_remove, |
|---|
| 649 | 648 | .id_table = ov5647_id, |
|---|
| 650 | 649 | }; |
|---|