tizen/src/hw/maru_pm.h: Fix undefined reference for ARM.
authorEvgeny Voevodin <e.voevodin@samsung.com>
Wed, 20 Jun 2012 03:35:48 +0000 (07:35 +0400)
committerEvgeny Voevodin <e.voevodin@samsung.com>
Fri, 22 Jun 2012 05:31:53 +0000 (09:31 +0400)
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
tizen/src/hw/maru_pm.h

index da9d832..51356f1 100644 (file)
@@ -37,14 +37,17 @@ i2c_bus *maru_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base,
                        qemu_irq sci_irq, qemu_irq smi_irq,
                        int kvm_enabled);
 
-void resume( void );
-
 #ifdef TARGET_ARM
 static int is_suspended_state( void )
 {
     return 0;
 }
+static void resume( void )
+{
+    return;
+}
 #else
+void resume( void );
 int is_suspended_state( void );
 #endif