diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-06-16 10:24:09 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-06-16 10:25:56 +0200 |
| commit | 523d193b089111849873d9de0ec1bf29f4176fbc (patch) | |
| tree | fc93888df4756d735e8357505e94bcd8193c9d00 /include/mtdev.h | |
| parent | 4e9e4d494e094347e7617d39292cbbdd1c81eff1 (diff) | |
Correct mtdev API names
The mtdev queue api functions had wrong names. This patch changes
them to the familiar put and get.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include/mtdev.h')
| -rw-r--r-- | include/mtdev.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mtdev.h b/include/mtdev.h index ab2d044..936d597 100644 --- a/include/mtdev.h +++ b/include/mtdev.h | |||
| @@ -44,12 +44,12 @@ static inline int mtdev_empty(struct MTDev *mtdev) | |||
| 44 | return evbuf_empty(&mtdev->outbuf); | 44 | return evbuf_empty(&mtdev->outbuf); |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | void mtdev_push(struct MTDev *dev, const struct Capabilities *caps, | 47 | void mtdev_put(struct MTDev *dev, const struct Capabilities *caps, |
| 48 | const struct input_event *ev); | 48 | const struct input_event *ev); |
| 49 | 49 | ||
| 50 | static inline void mtdev_pop(struct MTDev *mtdev, struct input_event* ev) | 50 | static inline void mtdev_get(struct MTDev *mtdev, struct input_event* ev) |
| 51 | { | 51 | { |
| 52 | evbuf_pop(&mtdev->outbuf, ev); | 52 | evbuf_get(&mtdev->outbuf, ev); |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | void mtdev_destroy(struct MTDev *mtdev); | 55 | void mtdev_destroy(struct MTDev *mtdev); |
