};
static const struct of_device_id it66121_dt_match[] = {
- { .compatible = "ite,it66121", &it66121_chip_info },
{ .compatible = "ite,it6610", &it6610_chip_info },
+ { .compatible = "ite,it66121", &it66121_chip_info },
{ }
};
MODULE_DEVICE_TABLE(of, it66121_dt_match);
static const struct i2c_device_id it66121_id[] = {
- { "it66121", (kernel_ulong_t) &it66121_chip_info },
- { "it6610", (kernel_ulong_t) &it6610_chip_info },
+ { "it6610", (kernel_ulong_t)&it6610_chip_info },
+ { "it66121", (kernel_ulong_t)&it66121_chip_info },
{ }
};
MODULE_DEVICE_TABLE(i2c, it66121_id);