]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix compiler error at pm-debug
authorKyungmin Park <kyungmin.park@samsung.com>
Wed, 21 May 2008 05:43:30 +0000 (14:43 +0900)
committerTony Lindgren <tony@atomide.com>
Thu, 22 May 2008 19:50:24 +0000 (12:50 -0700)
Fix compiler error at pm-debug

  CC      arch/arm/mach-omap2/pm-debug.o
In file included from arch/arm/mach-omap2/pm-debug.c:30:
arch/arm/mach-omap2/prm.h: In function `prm_rmw_reg_bits':
arch/arm/mach-omap2/prm.h:107: error: implicit declaration of function `__raw_readl'
arch/arm/mach-omap2/prm.h:110: error: implicit declaration of function `__raw_writel'
arch/arm/mach-omap2/pm-debug.c: In function `serial_wait_tx':
arch/arm/mach-omap2/pm-debug.c:59: error: implicit declaration of function `__raw_readb'
make[1]: *** [arch/arm/mach-omap2/pm-debug.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm-debug.c

index 361e52bec5903841e648a3349f936739ff255bb8..8a9f3c4f09f8b8b2f22b61c6096568a4f1cce35c 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <linux/clk.h>
 #include <linux/err.h>
+#include <linux/io.h>
 
 #include <asm/arch/clock.h>
 #include <asm/arch/board.h>