diff options
author | John Crispin <blogic@openwrt.org> | 2007-12-22 13:55:14 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2007-12-22 13:55:14 +0000 |
commit | 248e6392138808ed9170fa651eb7e465bb2365fc (patch) | |
tree | 9323dfde1783d80d79096ffb623cc892b017bf65 /target/linux/ifxmips/files/arch/mips/danube/pmu.c | |
parent | 315352ef917c74b94f749ad5cf4995e8cba21e61 (diff) | |
download | upstream-248e6392138808ed9170fa651eb7e465bb2365fc.tar.gz upstream-248e6392138808ed9170fa651eb7e465bb2365fc.tar.bz2 upstream-248e6392138808ed9170fa651eb7e465bb2365fc.zip |
danube to ifxmips transition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9825 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/files/arch/mips/danube/pmu.c')
-rw-r--r-- | target/linux/ifxmips/files/arch/mips/danube/pmu.c | 12 |
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); |