diff options
author | Fancy Fang <B47543@freescale.com> | 2013-12-19 18:32:42 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 08:47:31 -0500 |
commit | 3579827779c967614b32efb5e64f2ca9275a3395 (patch) | |
tree | 2430b7864d5581015d2c214c64440f4335fca74c /include/linux | |
parent | e4e3609cd4c56d1f11d94aea54bd626d25e8e531 (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/linux')
-rw-r--r-- | include/linux/pxp_device.h | 13 |
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 |