diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2008-11-06 14:03:42 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2008-11-06 14:03:42 +0100 |
| commit | a773c79d6d767ddfe574ad513ab0276bdd13a717 (patch) | |
| tree | 8d879fe396dab810bf5632c9777c3931c08eb396 /src/mtouch.h | |
| parent | 030a3c8a38a81ea882fa0a3b0bfce61ded50a20d (diff) | |
Driver stages in place - should one support multiple
device instances by moving the private alloc to init/close?
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/mtouch.h')
| -rw-r--r-- | src/mtouch.h | 21 |
1 files changed, 21 insertions, 0 deletions
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 @@ | |||
| 1 | #ifndef MTOUCH_H | ||
| 2 | #define MTOUCH_H | ||
| 3 | |||
| 4 | #include "capabilities.h" | ||
| 5 | #include "hwdata.h" | ||
| 6 | |||
| 7 | //////////////////////////////////////////////////////// | ||
| 8 | |||
| 9 | struct MTouch { | ||
| 10 | struct Capabilities caps; | ||
| 11 | struct HWData hw; | ||
| 12 | }; | ||
| 13 | |||
| 14 | //////////////////////////////////////////////////////// | ||
| 15 | |||
| 16 | int configure_mtouch(struct MTouch *mt, int fd); | ||
| 17 | int init_mtouch(struct MTouch *mt); | ||
| 18 | |||
| 19 | //////////////////////////////////////////////////////// | ||
| 20 | |||
| 21 | #endif | ||
