projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more danube 2 ifxmips transitions
[openwrt.git]
/
target
/
linux
/
ifxmips
/
files
/
arch
/
mips
/
danube
/
pmu.c
diff --git
a/target/linux/ifxmips/files/arch/mips/danube/pmu.c
b/target/linux/ifxmips/files/arch/mips/danube/pmu.c
index
5bb66db
..
296dd5c
100644
(file)
--- a/
target/linux/ifxmips/files/arch/mips/danube/pmu.c
+++ b/
target/linux/ifxmips/files/arch/mips/danube/pmu.c
@@
-1,5
+1,5
@@
/*
/*
- * arch/mips/
danube
/pmu.c
+ * arch/mips/
ifxmips
/pmu.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-22,24
+22,24
@@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/version.h>
-#include <asm/
danube/danube
.h>
+#include <asm/
ifxmips/ifxmips
.h>
void
void
-
danube
_pmu_enable (unsigned int module)
+
ifxmips
_pmu_enable (unsigned int module)
{
int err = 1000000;
{
int err = 1000000;
- writel(readl(
DANUBE_PMU_PWDCR) & ~module, DANUBE
_PMU_PWDCR);
- while (--err && (readl(
DANUBE
_PMU_PWDSR) & module)) {}
+ writel(readl(
IFXMIPS_PMU_PWDCR) & ~module, IFXMIPS
_PMU_PWDCR);
+ while (--err && (readl(
IFXMIPS
_PMU_PWDSR) & module)) {}
if (!err)
panic("activating PMU module failed!");
}
if (!err)
panic("activating PMU module failed!");
}
-EXPORT_SYMBOL(
danube
_pmu_enable);
+EXPORT_SYMBOL(
ifxmips
_pmu_enable);
void
void
-
danube
_pmu_disable (unsigned int module)
+
ifxmips
_pmu_disable (unsigned int module)
{
{
- writel(readl(
DANUBE_PMU_PWDCR) | module, DANUBE
_PMU_PWDCR);
+ writel(readl(
IFXMIPS_PMU_PWDCR) | module, IFXMIPS
_PMU_PWDCR);
}
}
-EXPORT_SYMBOL(
danube
_pmu_disable);
+EXPORT_SYMBOL(
ifxmips
_pmu_disable);
This page took
0.032753 seconds
and
4
git commands to generate.