Explorar o código

Blackfin: pull in asm/dpmc.h for power defines

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger %!s(int64=15) %!d(string=hai) anos
pai
achega
761ec44add

+ 2 - 0
arch/blackfin/include/asm/clocks.h

@@ -9,6 +9,8 @@
 #ifndef _BFIN_CLOCKS_H
 #define _BFIN_CLOCKS_H
 
+#include <asm/dpmc.h>
+
 #ifdef CONFIG_CCLK_DIV_1
 # define CONFIG_CCLK_ACT_DIV   CCLK_DIV1
 # define CONFIG_CCLK_DIV 1

+ 1 - 0
arch/blackfin/mach-common/clocks-init.c

@@ -13,6 +13,7 @@
 #include <asm/dma.h>
 #include <asm/clocks.h>
 #include <asm/mem_init.h>
+#include <asm/dpmc.h>
 
 #define SDGCTL_WIDTH (1 << 31)	/* SDRAM external data path width */
 #define PLL_CTL_VAL \

+ 1 - 1
arch/blackfin/mach-common/cpufreq.c

@@ -13,7 +13,7 @@
 #include <linux/fs.h>
 #include <asm/blackfin.h>
 #include <asm/time.h>
-
+#include <asm/dpmc.h>
 
 /* this is the table of CCLK frequencies, in Hz */
 /* .index is the entry in the auxillary dpm_state_table[] */

+ 1 - 0
arch/blackfin/mach-common/ints-priority.c

@@ -25,6 +25,7 @@
 #include <asm/blackfin.h>
 #include <asm/gpio.h>
 #include <asm/irq_handler.h>
+#include <asm/dpmc.h>
 
 #define SIC_SYSIRQ(irq)	(irq - (IRQ_CORETMR + 1))