mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
MIPS: Loongson: Naming style cleanup and rework
Currently, code of Loongson-2/3 is under loongson directory and code of Loongson-1 is under loongson1 directory. Besides, there are Kconfig options such as MACH_LOONGSON and MACH_LOONGSON1. This naming style is very ugly and confusing. Since Loongson-2/3 are both 64-bit general- purpose CPU while Loongson-1 is 32-bit SoC, we rename both file names and Kconfig symbols from loongson/loongson1 to loongson64/loongson32. [[email protected]: Resolve a number of simple conflicts.] Signed-off-by: Huacai Chen <[email protected]> Cc: Steven J. Hill <[email protected]> Cc: [email protected] Cc: Fuxin Zhang <[email protected]> Cc: Zhangjin Wu <[email protected]> Cc: Kelvin Cheung <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/9790/ Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
parent
abcc82b19f
commit
30ad29bb48
102 changed files with 105 additions and 103 deletions
|
|
@ -1484,7 +1484,7 @@ config RTC_DRV_PUV3
|
|||
|
||||
config RTC_DRV_LOONGSON1
|
||||
tristate "loongson1 RTC support"
|
||||
depends on MACH_LOONGSON1
|
||||
depends on MACH_LOONGSON32
|
||||
help
|
||||
This is a driver for the loongson1 on-chip Counter0 (Time-Of-Year
|
||||
counter) to be used as a RTC.
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#include <linux/delay.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/io.h>
|
||||
#include <asm/mach-loongson1/loongson1.h>
|
||||
#include <loongson1.h>
|
||||
|
||||
#define LS1X_RTC_REG_OFFSET (LS1X_RTC_BASE + 0x20)
|
||||
#define LS1X_RTC_REGS(x) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue