Revision b1d8e52e hw/tsc2005.c

b/hw/tsc2005.c
23 23
#include "hw.h"
24 24
#include "qemu-timer.h"
25 25
#include "console.h"
26
#include "devices.h"
26 27

  
27 28
#define TSC_CUT_RESOLUTION(value, p)	((value) >> (16 - (p ? 12 : 10)))
28 29

  
......
319 320
    tsc2005_pin_update(s);
320 321
}
321 322

  
322
uint8_t tsc2005_txrx_word(void *opaque, uint8_t value)
323
static uint8_t tsc2005_txrx_word(void *opaque, uint8_t value)
323 324
{
324 325
    struct tsc2005_state_s *s = opaque;
325 326
    uint32_t ret = 0;

Also available in: Unified diff