aboutsummaryrefslogtreecommitdiffstats
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
parent[media] gspca - ov534: Add Saturation control (diff)
downloadlinux-dev-c8e1fb4a67eed95364a50f33f5201a88877c5215.tar.xz
linux-dev-c8e1fb4a67eed95364a50f33f5201a88877c5215.zip
[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 117a59aaa70e..5f558851d646 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 3089d7382325..3089d7382325 100644
--- a/drivers/input/fixp-arith.h
+++ b/include/linux/fixp-arith.h