aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2017-03-03 09:29:19 -0500
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-03-08 19:29:26 -0500
commitabac12e1105e7f3572f641db7583547069c1deaf (patch)
tree6d5389d1366652e2d08f1a7cc37bde9ee1615c8a
parent23194ac0992be4f4f6ebd0926dac473ed03568d0 (diff)
rtc: ds1374: Set .of_match_table to OF device ID table
The driver has a OF device ID table but the struct i2c_driver .of_match_table field is not set. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r--drivers/rtc/rtc-ds1374.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c
index 52429f0a57cc..4cd115e93223 100644
--- a/drivers/rtc/rtc-ds1374.c
+++ b/drivers/rtc/rtc-ds1374.c
@@ -704,6 +704,7 @@ static SIMPLE_DEV_PM_OPS(ds1374_pm, ds1374_suspend, ds1374_resume);
704static struct i2c_driver ds1374_driver = { 704static struct i2c_driver ds1374_driver = {
705 .driver = { 705 .driver = {
706 .name = "rtc-ds1374", 706 .name = "rtc-ds1374",
707 .of_match_table = of_match_ptr(ds1374_of_match),
707 .pm = &ds1374_pm, 708 .pm = &ds1374_pm,
708 }, 709 },
709 .probe = ds1374_probe, 710 .probe = ds1374_probe,