From: Evgeny Voevodin Date: Fri, 15 Jun 2012 03:57:25 +0000 (+0400) Subject: tizen/src/: Fix compile warnings. X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1405^2~121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ee42d06131199a78ac99c516223e09206d15370;p=sdk%2Femulator%2Fqemu.git tizen/src/: Fix compile warnings. 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 --- diff --git a/tizen/src/debug_ch.h b/tizen/src/debug_ch.h index 298b7c5bf9..0cabc19ddb 100644 --- a/tizen/src/debug_ch.h +++ b/tizen/src/debug_ch.h @@ -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) diff --git a/tizen/src/hw/maru_board.c b/tizen/src/hw/maru_board.c index 0dd2764df6..0fa79e4340 100644 --- a/tizen/src/hw/maru_board.c +++ b/tizen/src/hw/maru_board.c @@ -61,6 +61,12 @@ # include #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 };