/*--------------------------------------------------------------*/
static struct i2c_driver lp5521_driver;
-static int lp5521_probe(struct i2c_client *client)
+static int lp5521_probe(struct i2c_client *client,
+ const struct i2c_device_id *id)
{
struct lp5521_chip *chip;
int ret = 0;
return 0;
}
+static const struct i2c_device_id lp5521_id[] = {
+ { LP5521_DRIVER_NAME, 0},
+ { },
+};
+MODULE_DEVICE_TABLE(i2c, lp5521_id);
+
static struct i2c_driver lp5521_driver = {
.driver = {
.name = LP5521_DRIVER_NAME,