tizen/src/: Fix compile warnings.
authorEvgeny Voevodin <e.voevodin@samsung.com>
Fri, 15 Jun 2012 03:57:25 +0000 (07:57 +0400)
committerEvgeny Voevodin <e.voevodin@samsung.com>
Fri, 15 Jun 2012 07:22:15 +0000 (11:22 +0400)
tizen/src/hw/maru_board.c: We can't just make #include because
for example maru_codec.h contains static definitions and it will
generate even more warnings.

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
tizen/src/debug_ch.h
tizen/src/hw/maru_board.c

index 298b7c5bf9e855f008dbf177320858be336e158d..0cabc19ddbcc2865b3787c0af2aa38a35ace3937 100644 (file)
@@ -129,6 +129,7 @@ extern void release_dbg_temp_buffer( char *buffer, size_t size );
 #endif
 #define FIXME_ON(ch)          __IS_DEBUG_ON(_FIXME,&_dbch_##ch)
 
+#undef ERR
 #define ERR                   __DPRINTF(_ERR,_dbch___default)
 #define ERR_(ch)              __DPRINTF(_ERR,&_dbch_##ch)
 #define ERR_ON(ch)            __IS_DEBUG_ON(_ERR,&_dbch_##ch)
index 0dd2764df6236aeea8d83e161650b982a57e1d61..0fa79e4340c46180de4d850ed364b38f5e89517a 100644 (file)
 #  include <xen/hvm/hvm_info_table.h>
 #endif
 
+int codec_init(PCIBus *bus);
+int maru_camera_pci_init(PCIBus *bus);
+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);
+
 #define MAX_IDE_BUS 2
 
 static const int ide_iobase[MAX_IDE_BUS] = { 0x1f0, 0x170 };