]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: tegra: Remove duplicate powergate defines
authorThierry Reding <thierry.reding@gmail.com>
Wed, 16 Oct 2013 17:19:00 +0000 (19:19 +0200)
committerStephen Warren <swarren@nvidia.com>
Fri, 18 Oct 2013 22:28:10 +0000 (16:28 -0600)
Instead of duplicating powergate defines, reuse the ones from the
include/linux/tegra-powergate.h header file.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/pmc.c

index 3744af99e0a1b54bb859c3d3bfe8960b555570e3..fb7920201ab4de46c654321409c39df1066e5641 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/io.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
+#include <linux/tegra-powergate.h>
 
 #include "flowctrl.h"
 #include "fuse.h"
 #define PMC_CPUPWRGOOD_TIMER   0xc8
 #define PMC_CPUPWROFF_TIMER    0xcc
 
-#define TEGRA_POWERGATE_PCIE   3
-#define TEGRA_POWERGATE_VDEC   4
-#define TEGRA_POWERGATE_CPU1   9
-#define TEGRA_POWERGATE_CPU2   10
-#define TEGRA_POWERGATE_CPU3   11
-
 static u8 tegra_cpu_domains[] = {
        0xFF,                   /* not available for CPU0 */
        TEGRA_POWERGATE_CPU1,