summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFancy Fang <B47543@freescale.com>2013-12-19 18:32:42 +0800
committerFancy Fang <B47543@freescale.com>2013-12-25 18:28:41 +0800
commitdd4e4530b272bb4aee38af13df3156a2757e1148 (patch)
treee12c52812a5ba8a9e4ade46176ad6751b2067f4e /include
parent4068d0a5d69e001819f0ef12c109e36725677a18 (diff)
ENGR00292816 PXP: move two struct definitions to pxp_device.h
Move two struct definitions defined in pxp_device.c to pxp_device.h. Now the pxp_device.h has been created for PXP device driver. So all the type definition should stay in header file not c source file. Signed-off-by: Fancy Fang <B47543@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pxp_device.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/pxp_device.h b/include/linux/pxp_device.h
index 34d36bd48413..38120d8c46a0 100644
--- a/include/linux/pxp_device.h
+++ b/include/linux/pxp_device.h
@@ -21,4 +21,17 @@
#include <uapi/linux/pxp_device.h>
+/* To track the allocated memory buffer */
+struct memalloc_record {
+ struct list_head list;
+ struct pxp_mem_desc mem;
+};
+
+struct pxp_irq_info {
+ wait_queue_head_t waitq;
+ int irq_pending;
+ int hist_status;
+ spinlock_t lock;
+};
+
#endif