kernel/drivers/media/i2c/ths8200.c
.. .. @@ -436,8 +436,7 @@ 436 436 .pad = &ths8200_pad_ops, 437 437 }; 438 438 439 -static int ths8200_probe(struct i2c_client *client,440 - const struct i2c_device_id *id)439 +static int ths8200_probe(struct i2c_client *client)441 440 { 442 441 struct ths8200_state *state; 443 442 struct v4l2_subdev *sd; .. .. @@ -502,7 +501,7 @@ 502 501 .name = "ths8200", 503 502 .of_match_table = of_match_ptr(ths8200_of_match), 504 503 }, 505 - .probe = ths8200_probe,504 + .probe_new = ths8200_probe,506 505 .remove = ths8200_remove, 507 506 .id_table = ths8200_id, 508 507 };