From 4f38b9f2f4a56164cad7a42e92f945c3515c5a2e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 14 Oct 2015 17:06:08 -0700 Subject: devicetree: bindings: Use linux-event-codes.h for evdev codes Add a symlink to uapi/linux/linux-event-codes.h, and include that instead of (re)defining all the evdev type and code values in dt-bindings/input/input.h. This way we do not need to keep all the event codes synced manually. Signed-off-by: Hans de Goede Acked-by: Rob Herring Signed-off-by: Dmitry Torokhov --- include/dt-bindings/input/linux-event-codes.h | 1 + 1 file changed, 1 insertion(+) create mode 120000 include/dt-bindings/input/linux-event-codes.h (limited to 'include/dt-bindings/input/linux-event-codes.h') diff --git a/include/dt-bindings/input/linux-event-codes.h b/include/dt-bindings/input/linux-event-codes.h new file mode 120000 index 000000000000..693bbcd2670a --- /dev/null +++ b/include/dt-bindings/input/linux-event-codes.h @@ -0,0 +1 @@ +../../uapi/linux/input-event-codes.h \ No newline at end of file -- cgit v1.2.3