summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Ospite <ospite@studenti.unina.it>2012-05-14 08:07:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-14 09:47:23 -0300
commitc8e1fb4a67eed95364a50f33f5201a88877c5215 (patch)
tree87d687d8fc077ed4a3653c6b3779e617e08d73db
parente0fde595e3fbf8138a7f5b0c877ab90a0d07a347 (diff)
downloadop-kernel-dev-c8e1fb4a67eed95364a50f33f5201a88877c5215.zip
op-kernel-dev-c8e1fb4a67eed95364a50f33f5201a88877c5215.tar.gz
[media] Input: move drivers/input/fixp-arith.h to include/linux
Move drivers/input/fixp-arith.h to include/linux so that the functions defined there can be used by other subsystems, for instance some video devices ISPs can control the output HUE value by setting registers for sin(HUE) and cos(HUE). Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/input/ff-memless.c3
-rw-r--r--include/linux/fixp-arith.h (renamed from drivers/input/fixp-arith.h)0
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/ff-memless.c b/drivers/input/ff-memless.c
index 117a59a..5f55885 100644
--- a/drivers/input/ff-memless.c
+++ b/drivers/input/ff-memless.c
@@ -31,8 +31,7 @@
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/jiffies.h>
-
-#include "fixp-arith.h"
+#include <linux/fixp-arith.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Anssi Hannula <anssi.hannula@gmail.com>");
diff --git a/drivers/input/fixp-arith.h b/include/linux/fixp-arith.h
index 3089d73..3089d73 100644
--- a/drivers/input/fixp-arith.h
+++ b/include/linux/fixp-arith.h
OpenPOWER on IntegriCloud