From 927f0751fc8be8a71c2d8b255522259d01a7fcef Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Tue, 18 Apr 2017 22:54:54 +0200 Subject: Rename struct device to struct rc_device --- rcm-server-evdev.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rcm-server-evdev.h') diff --git a/rcm-server-evdev.h b/rcm-server-evdev.h index a2f4283..80d985f 100644 --- a/rcm-server-evdev.h +++ b/rcm-server-evdev.h @@ -1,15 +1,15 @@ #ifndef foorcmserverevdevhfoo #define foorcmserverevdevhfoo -int evdev_set_mapping(struct device *device, unsigned protocol, +int evdev_set_mapping(struct rc_device *rcdev, unsigned protocol, uint64_t scancode, struct linux_input_keycode *lik); -int evdev_get_mapping(struct device *device, unsigned index, unsigned *ret_protocol, +int evdev_get_mapping(struct rc_device *rcdev, unsigned index, unsigned *ret_protocol, uint64_t *ret_scancode, struct linux_input_keycode **ret_lik); -int evdev_setup(struct device *device, const char *path); +int evdev_setup(struct rc_device *rcdev, const char *path); -void evdev_close(struct device *device); +void evdev_close(struct rc_device *rcdev); #endif -- cgit v1.2.3