From da4369c12571916632d806655a507d21a18c2934 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 13 Oct 2012 01:09:40 +0200 Subject: [PATCH] touchpad driver fix --- drivers/touchpad/ADS7843/touchpad_lld.c | 4 ++-- drivers/touchpad/XPT2046/touchpad_lld.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/touchpad/ADS7843/touchpad_lld.c b/drivers/touchpad/ADS7843/touchpad_lld.c index dbd74786..eeaf11b5 100644 --- a/drivers/touchpad/ADS7843/touchpad_lld.c +++ b/drivers/touchpad/ADS7843/touchpad_lld.c @@ -45,7 +45,7 @@ /*===========================================================================*/ #if !defined(__DOXYGEN__) /* Local copy of the current touchpad driver */ - static const TOUCHPADDriver_t *tpDriver; + static const TOUCHPADDriver *tpDriver; static uint16_t sampleBuf[7]; #endif @@ -69,7 +69,7 @@ * * @notapi */ -void tp_lld_init(const TOUCHPADDriver_t *tp) { +void tp_lld_init(const TOUCHPADDriver *tp) { tpDriver = tp; if(tpDriver->direct_init) diff --git a/drivers/touchpad/XPT2046/touchpad_lld.c b/drivers/touchpad/XPT2046/touchpad_lld.c index dbd74786..eeaf11b5 100644 --- a/drivers/touchpad/XPT2046/touchpad_lld.c +++ b/drivers/touchpad/XPT2046/touchpad_lld.c @@ -45,7 +45,7 @@ /*===========================================================================*/ #if !defined(__DOXYGEN__) /* Local copy of the current touchpad driver */ - static const TOUCHPADDriver_t *tpDriver; + static const TOUCHPADDriver *tpDriver; static uint16_t sampleBuf[7]; #endif @@ -69,7 +69,7 @@ * * @notapi */ -void tp_lld_init(const TOUCHPADDriver_t *tp) { +void tp_lld_init(const TOUCHPADDriver *tp) { tpDriver = tp; if(tpDriver->direct_init)