summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-12-17 17:59:05 +0100
committerStefan Agner <stefan.agner@toradex.com>2014-12-18 17:36:02 +0100
commitd131b771ee18ebb5330e97e83ba9740d6f421e2b (patch)
tree6ac91ad5565218f62af5c22185560037400fa318 /include
parent6f0bbad6b805cf2014eec54531dbe4ddb4867a91 (diff)
ARM: imx: vf610: add device tree support for SEMA4
Add proper device tree support for SEMA4 driver. Also rename the source and header file to the mainline SoC name "vf610_".
Diffstat (limited to 'include')
-rw-r--r--include/linux/vf610_sema4.h (renamed from include/linux/mvf_sema4.h)4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mvf_sema4.h b/include/linux/vf610_sema4.h
index c0e6fdd108d1..d0587aaf370b 100644
--- a/include/linux/mvf_sema4.h
+++ b/include/linux/vf610_sema4.h
@@ -1,8 +1,6 @@
#ifndef __MVF_SEMA4__
#define __MVF_SEMA4__
-#include <linux/sched.h>
-
#define MVF_SHMEM_SEMAPHORE_NUMBER (1)
#define MVF_PRINTF_SEMAPHORE_NUMBER (2)
#define MVF_I2C_SEMAPHORE_NUMBER (3)
@@ -11,6 +9,8 @@
#ifdef __KERNEL__
+#include <linux/sched.h>
+
typedef struct mvf_sema4_handle_struct {
int gate_num;
wait_queue_head_t wait_queue;