mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Fix undeclared symbol warnings from sparse
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
51a0f568c5
commit
b1d8e52e63
37 changed files with 71 additions and 61 deletions
|
@ -23,6 +23,7 @@
|
|||
#include "hw.h"
|
||||
#include "qemu-timer.h"
|
||||
#include "console.h"
|
||||
#include "devices.h"
|
||||
|
||||
#define TSC_CUT_RESOLUTION(value, p) ((value) >> (16 - (p ? 12 : 10)))
|
||||
|
||||
|
@ -319,7 +320,7 @@ static void tsc2005_reset(struct tsc2005_state_s *s)
|
|||
tsc2005_pin_update(s);
|
||||
}
|
||||
|
||||
uint8_t tsc2005_txrx_word(void *opaque, uint8_t value)
|
||||
static uint8_t tsc2005_txrx_word(void *opaque, uint8_t value)
|
||||
{
|
||||
struct tsc2005_state_s *s = opaque;
|
||||
uint32_t ret = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue