瀏覽代碼

[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>
Antonio Ospite 13 年之前
父節點
當前提交
c8e1fb4a67
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      drivers/input/ff-memless.c
  2. 0 0
      include/linux/fixp-arith.h

+ 1 - 2
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>");

+ 0 - 0
drivers/input/fixp-arith.h → include/linux/fixp-arith.h