diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-12-31 05:36:16 -0500 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-12-31 05:36:16 -0500 |
commit | 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 (patch) | |
tree | 5f014b344dddf644505b582dfa90c013218261c5 | |
parent | bba3d2daa8a9bc888902275401f15ef48fcdd378 (diff) |
rtc: rename core files
Rename core files so there is a clearer separation between the RTC core and
the RTC drivers.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r-- | drivers/rtc/Makefile | 8 | ||||
-rw-r--r-- | drivers/rtc/dev.c (renamed from drivers/rtc/rtc-dev.c) | 0 | ||||
-rw-r--r-- | drivers/rtc/lib.c (renamed from drivers/rtc/rtc-lib.c) | 0 | ||||
-rw-r--r-- | drivers/rtc/proc.c (renamed from drivers/rtc/rtc-proc.c) | 0 | ||||
-rw-r--r-- | drivers/rtc/sysfs.c (renamed from drivers/rtc/rtc-sysfs.c) | 0 |
5 files changed, 4 insertions, 4 deletions
diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile index f97c05ef99db..df022d820bee 100644 --- a/drivers/rtc/Makefile +++ b/drivers/rtc/Makefile | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | ccflags-$(CONFIG_RTC_DEBUG) := -DDEBUG | 6 | ccflags-$(CONFIG_RTC_DEBUG) := -DDEBUG |
7 | 7 | ||
8 | obj-$(CONFIG_RTC_LIB) += rtc-lib.o | 8 | obj-$(CONFIG_RTC_LIB) += lib.o |
9 | obj-$(CONFIG_RTC_HCTOSYS) += hctosys.o | 9 | obj-$(CONFIG_RTC_HCTOSYS) += hctosys.o |
10 | obj-$(CONFIG_RTC_SYSTOHC) += systohc.o | 10 | obj-$(CONFIG_RTC_SYSTOHC) += systohc.o |
11 | obj-$(CONFIG_RTC_CLASS) += rtc-core.o | 11 | obj-$(CONFIG_RTC_CLASS) += rtc-core.o |
@@ -17,9 +17,9 @@ rtc-core-y += rtc-efi-platform.o | |||
17 | endif | 17 | endif |
18 | 18 | ||
19 | rtc-core-$(CONFIG_RTC_NVMEM) += nvmem.o | 19 | rtc-core-$(CONFIG_RTC_NVMEM) += nvmem.o |
20 | rtc-core-$(CONFIG_RTC_INTF_DEV) += rtc-dev.o | 20 | rtc-core-$(CONFIG_RTC_INTF_DEV) += dev.o |
21 | rtc-core-$(CONFIG_RTC_INTF_PROC) += rtc-proc.o | 21 | rtc-core-$(CONFIG_RTC_INTF_PROC) += proc.o |
22 | rtc-core-$(CONFIG_RTC_INTF_SYSFS) += rtc-sysfs.o | 22 | rtc-core-$(CONFIG_RTC_INTF_SYSFS) += sysfs.o |
23 | 23 | ||
24 | # Keep the list ordered. | 24 | # Keep the list ordered. |
25 | 25 | ||
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/dev.c index 43d962a9c210..43d962a9c210 100644 --- a/drivers/rtc/rtc-dev.c +++ b/drivers/rtc/dev.c | |||
diff --git a/drivers/rtc/rtc-lib.c b/drivers/rtc/lib.c index ef160da84220..ef160da84220 100644 --- a/drivers/rtc/rtc-lib.c +++ b/drivers/rtc/lib.c | |||
diff --git a/drivers/rtc/rtc-proc.c b/drivers/rtc/proc.c index 4d74e4f4ff30..4d74e4f4ff30 100644 --- a/drivers/rtc/rtc-proc.c +++ b/drivers/rtc/proc.c | |||
diff --git a/drivers/rtc/rtc-sysfs.c b/drivers/rtc/sysfs.c index a8f22ee726bb..a8f22ee726bb 100644 --- a/drivers/rtc/rtc-sysfs.c +++ b/drivers/rtc/sysfs.c | |||