summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFancy Fang <B47543@freescale.com>2013-12-18 13:38:23 +0800
committerFancy Fang <B47543@freescale.com>2013-12-19 17:29:52 +0800
commitbb2bd6a4e82c5af4d4efc73c5171b2b004a70832 (patch)
tree21cbf438b088b0d0d11ac69abfd2d8caf44fb1b8 /drivers
parent039f71d99e8b47a7acbc9db9224e8259eb530e0a (diff)
ENGR00292562 PXP: move the definitions used only by PXP device to a new header file
Some definitions used only by PXP device driver should not stay in pxp_dma.h which is shared by PXP, EPDC and V4L2. So the patch creates a new header file pxp_device.h to hold these definitions. Signed-off-by: Fancy Fang <B47543@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dma/pxp/pxp_device.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/dma/pxp/pxp_device.c b/drivers/dma/pxp/pxp_device.c
index 2c28294dc42a..12f8890469ce 100644
--- a/drivers/dma/pxp/pxp_device.c
+++ b/drivers/dma/pxp/pxp_device.c
@@ -27,7 +27,7 @@
#include <linux/dma-mapping.h>
#include <linux/sched.h>
#include <linux/module.h>
-#include <linux/pxp_dma.h>
+#include <linux/pxp_device.h>
#include <linux/atomic.h>
#include <linux/platform_data/dma-imx.h>
@@ -38,11 +38,6 @@ static DEFINE_SPINLOCK(pxp_chan_lock);
static LIST_HEAD(head);
static LIST_HEAD(list);
-struct pxp_chan_handle {
- int chan_id;
- int hist_status;
-};
-
/* To track the allocated memory buffer */
struct memalloc_record {
struct list_head list;