diff options
author | John Crispin <blogic@openwrt.org> | 2012-04-19 14:23:14 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-05-26 18:52:57 (GMT) |
commit | 009d6914f14d6c12a073e9ff8506a53047c308e7 (patch) | |
tree | 53ea742badb13e0ff55722b97ecce91ed26002b0 /arch/mips/lantiq | |
parent | d41ced01f21ddd2c3a01531bb9edf6c41064e9fc (diff) | |
download | linux-009d6914f14d6c12a073e9ff8506a53047c308e7.tar.xz |
MIPS: lantiq: remove orphaned code
Now that all drivers are converted to OF we are able to remove some remaining
pieces of orphaned code.
Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3841/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lantiq')
-rw-r--r-- | arch/mips/lantiq/prom.c | 6 | ||||
-rw-r--r-- | arch/mips/lantiq/xway/sysctrl.c | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c index 413ed53..d185e84 100644 --- a/arch/mips/lantiq/prom.c +++ b/arch/mips/lantiq/prom.c @@ -27,12 +27,6 @@ EXPORT_SYMBOL_GPL(ebu_lock); */ static struct ltq_soc_info soc_info; -unsigned int ltq_get_soc_type(void) -{ - return soc_info.type; -} -EXPORT_SYMBOL(ltq_get_soc_type); - const char *get_system_type(void) { return soc_info.sys_type; diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c index 4d6aac6..83780f7 100644 --- a/arch/mips/lantiq/xway/sysctrl.c +++ b/arch/mips/lantiq/xway/sysctrl.c @@ -42,6 +42,7 @@ /* clock gates that we can en/disable */ #define PMU_USB0_P BIT(0) #define PMU_PCI BIT(4) +#define PMU_DMA BIT(5) #define PMU_USB0 BIT(6) #define PMU_ASC0 BIT(7) #define PMU_EPHY BIT(7) /* ase */ @@ -49,7 +50,9 @@ #define PMU_DFE BIT(9) #define PMU_EBU BIT(10) #define PMU_STP BIT(11) +#define PMU_GPT BIT(12) #define PMU_AHBS BIT(13) /* vr9 */ +#define PMU_FPI BIT(14) #define PMU_AHBM BIT(15) #define PMU_ASC1 BIT(17) #define PMU_PPE_QSB BIT(18) @@ -60,6 +63,7 @@ #define PMU_PPE_DPLUS BIT(24) #define PMU_USB1_P BIT(26) #define PMU_USB1 BIT(27) +#define PMU_SWITCH BIT(28) #define PMU_PPE_TOP BIT(29) #define PMU_GPHY BIT(30) #define PMU_PCIE_CLK BIT(31) |