mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware
The rtc-rs5c348 SPI driver name doesn't match its module name, which prevents it from properly hotplugging. There is only one in-tree user of its driver, which is fixed by this patch too. Signed-off-by: Atsushi Nemoto <[email protected]> Acked-by: David Brownell <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
parent
c99dcac435
commit
9f90a03a7f
2 changed files with 2 additions and 2 deletions
|
|
@ -226,7 +226,7 @@ static int __devexit rs5c348_remove(struct spi_device *spi)
|
|||
|
||||
static struct spi_driver rs5c348_driver = {
|
||||
.driver = {
|
||||
.name = "rs5c348",
|
||||
.name = "rtc-rs5c348",
|
||||
.bus = &spi_bus_type,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue