Skip to contentSkip to conversation

ARM: OMAP2: Fix warning mach-omap2/pm.c

PATCH In review Dirk Behme 2 participants 2 messages May 5, 2007 – May 8, 2007

Subsystems (4)
lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

PATCH 1/1 ARM: OMAP2: Fix warning mach-omap2/pm.c

Fix warning

arch/arm/mach-omap2/pm.c: In function 'omap2_enter_full_retention':
arch/arm/mach-omap2/pm.c:504: warning: implicit declaration of function 'omap2_gpio_prepare_for_retention' arch/arm/mach-omap2/pm.c:531: warning: implicit declaration of function 'omap2_gpio_resume_after_retention'

arch/arm/mach-omap2/pm.c +1 -0
Index: linux-osk/arch/arm/mach-omap2/pm.c
===================================================================
@@ -44,6 +44,7 @@
 #include <asm/arch/mux.h>
 #include <asm/arch/dma.h>
 #include <asm/arch/board.h>
+#include <asm/arch/gpio.h>
 
 #define PRCM_REVISION		0x000
 #define PRCM_SYSCONFIG		0x010
maintainer
#1 lore raw
Quoted 18 lines · Dirk Behme

Fix warning

arch/arm/mach-omap2/pm.c: In function 'omap2_enter_full_retention':
arch/arm/mach-omap2/pm.c:504: warning: implicit declaration of function 'omap2_gpio_prepare_for_retention' arch/arm/mach-omap2/pm.c:531: warning: implicit declaration of function 'omap2_gpio_resume_after_retention'

Index: linux-osk/arch/arm/mach-omap2/pm.c
===================================================================

arch/arm/mach-omap2/pm.c line 50

Quoted 7 lines
arch/arm/mach-omap2/pm.c +1 -0
@@ -44,6 +44,7 @@
 #include <asm/arch/mux.h>
 #include <asm/arch/dma.h>
 #include <asm/arch/board.h>
+#include <asm/arch/gpio.h>
 
 #define PRCM_REVISION		0x000
 #define PRCM_SYSCONFIG		0x010

Thanks, pushing today.

Tony