aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/files/arch/mips/danube/pmu.c
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-12-22 13:55:14 +0000
committerJohn Crispin <john@openwrt.org>2007-12-22 13:55:14 +0000
commitede75452000b57a7eee95be4469690dae165d1bd (patch)
treef1ef9623582d04f291876626ff75b12f18ea975e /target/linux/ifxmips/files/arch/mips/danube/pmu.c
parent4da7f2dbed36a301c92087a8d6b11cd8bb3ab3d0 (diff)
downloadupstream-ede75452000b57a7eee95be4469690dae165d1bd.tar.gz
upstream-ede75452000b57a7eee95be4469690dae165d1bd.tar.bz2
upstream-ede75452000b57a7eee95be4469690dae165d1bd.zip
danube to ifxmips transition
SVN-Revision: 9825
Diffstat (limited to 'target/linux/ifxmips/files/arch/mips/danube/pmu.c')
-rw-r--r--target/linux/ifxmips/files/arch/mips/danube/pmu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ifxmips/files/arch/mips/danube/pmu.c b/target/linux/ifxmips/files/arch/mips/danube/pmu.c
index b96cfdc570..296dd5c7a2 100644
--- 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
@@ -22,10 +22,10 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/version.h>
-#include <asm/danube/danube.h>
+#include <asm/ifxmips/ifxmips.h>
void
-danube_pmu_enable (unsigned int module)
+ifxmips_pmu_enable (unsigned int module)
{
int err = 1000000;
@@ -35,11 +35,11 @@ danube_pmu_enable (unsigned int module)
if (!err)
panic("activating PMU module failed!");
}
-EXPORT_SYMBOL(danube_pmu_enable);
+EXPORT_SYMBOL(ifxmips_pmu_enable);
void
-danube_pmu_disable (unsigned int module)
+ifxmips_pmu_disable (unsigned int module)
{
writel(readl(IFXMIPS_PMU_PWDCR) | module, IFXMIPS_PMU_PWDCR);
}
-EXPORT_SYMBOL(danube_pmu_disable);
+EXPORT_SYMBOL(ifxmips_pmu_disable);