diff options
Diffstat (limited to 'include/linux/platform_data/dma-imx.h')
-rw-r--r-- | include/linux/platform_data/dma-imx.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/platform_data/dma-imx.h b/include/linux/platform_data/dma-imx.h index f6d30cc1cb77..3558f05273a3 100644 --- a/include/linux/platform_data/dma-imx.h +++ b/include/linux/platform_data/dma-imx.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright 2004-2009 Freescale Semiconductor, Inc. All Rights Reserved. | 2 | * Copyright 2004-2013 Freescale Semiconductor, Inc. All Rights Reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify | 4 | * This program is free software; you can redistribute it and/or modify |
5 | * it under the terms of the GNU General Public License version 2 as | 5 | * it under the terms of the GNU General Public License version 2 as |
@@ -58,6 +58,11 @@ static inline int imx_dma_is_ipu(struct dma_chan *chan) | |||
58 | return !strcmp(dev_name(chan->device->dev), "ipu-core"); | 58 | return !strcmp(dev_name(chan->device->dev), "ipu-core"); |
59 | } | 59 | } |
60 | 60 | ||
61 | static inline int imx_dma_is_pxp(struct dma_chan *chan) | ||
62 | { | ||
63 | return strstr(dev_name(chan->device->dev), "pxp") != NULL; | ||
64 | } | ||
65 | |||
61 | static inline int imx_dma_is_general_purpose(struct dma_chan *chan) | 66 | static inline int imx_dma_is_general_purpose(struct dma_chan *chan) |
62 | { | 67 | { |
63 | return strstr(dev_name(chan->device->dev), "sdma") || | 68 | return strstr(dev_name(chan->device->dev), "sdma") || |