[PATCH 12/12] Add missing function definitions

Jonas Bonn jonas.bonn at gmail.com
Wed Oct 15 22:41:52 CEST 2008


These functions are undefined at first use which causes the build to
fail.  Just push the definitions forward, for now.  This file needs to
be cleaned up a good bit, in general, so we'll put in a better fix at
that time.  For now, this builds, at least...

Signed-off-by: Jonas Bonn <jonas.bonn at gmail.com>
---
 arch/arm/plat-s3c24xx/neo1973_pm_gps.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
index a88b1a2..6fabf19 100644
--- a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
+++ b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
@@ -313,6 +313,11 @@ static int gps_pwron_get(void)
 }
 
 
+#ifdef CONFIG_MACH_NEO1973_GTA01
+static void gps_rst_set(int on);
+static int gps_rst_get(void);
+#endif
+
 static ssize_t power_gps_read(struct device *dev,
 			      struct device_attribute *attr, char *buf)
 {
-- 
1.5.6.3




More information about the openmoko-kernel mailing list