rtc: rk808: rename rtc-rk808.c to rtc-rk8xx.c
Subsystems (3)
PATCH 1/1 rtc: rk808: rename rtc-rk808.c to rtc-rk8xx.c
From: zhangqing <[email protected]>
make rtc-rk8xx.c compatible for all pmic chips. for pmic chips(rk808\rk807\rk816\rk818) in the future.
Signed-off-by zhangqing <[email protected]>
---
drivers/mfd/rk808.c | 2 +-
drivers/rtc/Kconfig | 8 +-
drivers/rtc/Makefile | 2 +-
drivers/rtc/{rtc-rk808.c => rtc-rk8xx.c} | 218 ++++++++++++++++++-------------
4 files changed, 131 insertions(+), 99 deletions(-)
rename drivers/rtc/{rtc-rk808.c => rtc-rk8xx.c} (64%)drivers/mfd/rk808.c +1 -1
@@ -77,7 +77,7 @@ static const struct mfd_cell rk808s[] = { { .name = "rk808-clkout", }, { .name = "rk808-regulator", }, { - .name = "rk808-rtc", + .name = "rk8xx-rtc", .num_resources = ARRAY_SIZE(rtc_resources), .resources = &rtc_resources[0], },
drivers/rtc/Kconfig +4 -4
@@ -325,15 +325,15 @@ config RTC_DRV_MAX77686 This driver can also be built as a module. If so, the module will be called rtc-max77686. -config RTC_DRV_RK808 - tristate "Rockchip RK808 RTC" +config RTC_DRV_RK8XX + tristate "Rockchip RK8XX RTC" depends on MFD_RK808 help If you say yes here you will get support for the - RTC of RK808 PMIC. + RTC of RK8XX PMIC. This driver can also be built as a module. If so, the module - will be called rk808-rtc. + will be called rk8xx-rtc. config RTC_DRV_MAX77802 tristate "Maxim 77802 RTC"
drivers/rtc/Makefile +1 -1
@@ -120,7 +120,7 @@ obj-$(CONFIG_RTC_DRV_PUV3) += rtc-puv3.o obj-$(CONFIG_RTC_DRV_PXA) += rtc-pxa.o obj-$(CONFIG_RTC_DRV_R9701) += rtc-r9701.o obj-$(CONFIG_RTC_DRV_RC5T583) += rtc-rc5t583.o -obj-$(CONFIG_RTC_DRV_RK808) += rtc-rk808.o +obj-$(CONFIG_RTC_DRV_RK8XX) += rtc-rk8xx.o obj-$(CONFIG_RTC_DRV_RP5C01) += rtc-rp5c01.o obj-$(CONFIG_RTC_DRV_RS5C313) += rtc-rs5c313.o obj-$(CONFIG_RTC_DRV_RS5C348) += rtc-rs5c348.o
drivers/rtc/rtc-rk8xx.c renamed from drivers/rtc/rtc-rk808.c +125 -93
460 lines not on this page · raw message
Signature · 1 line
1.9.1