Loading drivers/rtc/rtc-rv3028.c +7 −0 Original line number Diff line number Diff line Loading @@ -982,6 +982,12 @@ static int rv3028_probe(struct i2c_client *client) return 0; } static const struct acpi_device_id rv3028_i2c_acpi_match[] = { { "MCRY3028" }, { } }; MODULE_DEVICE_TABLE(acpi, rv3028_i2c_acpi_match); static const __maybe_unused struct of_device_id rv3028_of_match[] = { { .compatible = "microcrystal,rv3028", }, { } Loading @@ -991,6 +997,7 @@ MODULE_DEVICE_TABLE(of, rv3028_of_match); static struct i2c_driver rv3028_driver = { .driver = { .name = "rtc-rv3028", .acpi_match_table = rv3028_i2c_acpi_match, .of_match_table = of_match_ptr(rv3028_of_match), }, .probe_new = rv3028_probe, Loading Loading
drivers/rtc/rtc-rv3028.c +7 −0 Original line number Diff line number Diff line Loading @@ -982,6 +982,12 @@ static int rv3028_probe(struct i2c_client *client) return 0; } static const struct acpi_device_id rv3028_i2c_acpi_match[] = { { "MCRY3028" }, { } }; MODULE_DEVICE_TABLE(acpi, rv3028_i2c_acpi_match); static const __maybe_unused struct of_device_id rv3028_of_match[] = { { .compatible = "microcrystal,rv3028", }, { } Loading @@ -991,6 +997,7 @@ MODULE_DEVICE_TABLE(of, rv3028_of_match); static struct i2c_driver rv3028_driver = { .driver = { .name = "rtc-rv3028", .acpi_match_table = rv3028_i2c_acpi_match, .of_match_table = of_match_ptr(rv3028_of_match), }, .probe_new = rv3028_probe, Loading