From a773c79d6d767ddfe574ad513ab0276bdd13a717 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 6 Nov 2008 14:03:42 +0100 Subject: Driver stages in place - should one support multiple device instances by moving the private alloc to init/close? Signed-off-by: Henrik Rydberg --- src/mtouch.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/mtouch.h (limited to 'src/mtouch.h') diff --git a/src/mtouch.h b/src/mtouch.h new file mode 100644 index 0000000..a945162 --- /dev/null +++ b/src/mtouch.h @@ -0,0 +1,21 @@ +#ifndef MTOUCH_H +#define MTOUCH_H + +#include "capabilities.h" +#include "hwdata.h" + +//////////////////////////////////////////////////////// + +struct MTouch { + struct Capabilities caps; + struct HWData hw; +}; + +//////////////////////////////////////////////////////// + +int configure_mtouch(struct MTouch *mt, int fd); +int init_mtouch(struct MTouch *mt); + +//////////////////////////////////////////////////////// + +#endif -- cgit v1.2.3