more danube 2 ifxmips transitions
[openwrt.git] / target / linux / ifxmips / files / arch / mips / danube / pmu.c
index 5bb66db..296dd5c 100644 (file)
@@ -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
 #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;
 
-       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!");
 }
-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(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.023322 seconds and 4 git commands to generate.