mirror of https://gitee.com/openkylin/linux.git
rtc: make rtc-ds1553 driver hotplug-aware
The rtc-ds1553 platform driver name doesn't match its module name, which might prevent it from properly hotplugging. This driver has no in-tree users. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
88efe13739
commit
e7634c271a
|
@ -395,7 +395,7 @@ static struct platform_driver ds1553_rtc_driver = {
|
|||
.probe = ds1553_rtc_probe,
|
||||
.remove = __devexit_p(ds1553_rtc_remove),
|
||||
.driver = {
|
||||
.name = "ds1553",
|
||||
.name = "rtc-ds1553",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue