aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-11-02 16:44:21 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-14 09:58:36 -0500
commit3c9ae40b087d96f80c6b6284f90a574cad4a8f25 (patch)
treee693a37f1624b629404df4df28b5485a9ad9c178
parentee91820cd6858317053848fe633f5e0c585cffee (diff)
media: rc: include <uapi/linux/lirc.h> rather than <media/lirc.h>
This removes the need for include/media/lirc.h, which just includes the uapi file. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/media/rc/lirc_dev.c2
-rw-r--r--include/media/lirc.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c
index 97d60f0b5836..8a0e9f74329a 100644
--- a/drivers/media/rc/lirc_dev.c
+++ b/drivers/media/rc/lirc_dev.c
@@ -26,7 +26,7 @@
#include <linux/wait.h>
#include "rc-core-priv.h"
-#include <media/lirc.h>
+#include <uapi/linux/lirc.h>
#define LOGHEAD "lirc_dev (%s[%d]): "
#define LIRCBUF_SIZE 256
diff --git a/include/media/lirc.h b/include/media/lirc.h
deleted file mode 100644
index 554988c860c1..000000000000
--- a/include/media/lirc.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <uapi/linux/lirc.h>

Privacy Policy