aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-26 06:28:23 -0500
committerKukjin Kim <kgene.kim@samsung.com>2012-01-11 12:00:16 -0500
commit8ca0686aabbf145014fa22bc7fd06189b564f119 (patch)
treef390f83cd9844fb8367e5cf856c01483ab3f43ce /arch/arm/plat-samsung
parente343a895a9f342f239c5e3c5ffc6c0b1707e6244 (diff)
ARM: SAMSUNG: Guard against multiple inclusion of plat/dma.h
Otherwise it'll generate errors if included twice. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r--arch/arm/plat-samsung/include/plat/dma.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/include/plat/dma.h b/arch/arm/plat-samsung/include/plat/dma.h
index b9061128abde..7b02143ccd9a 100644
--- a/arch/arm/plat-samsung/include/plat/dma.h
+++ b/arch/arm/plat-samsung/include/plat/dma.h
@@ -10,6 +10,9 @@
10 * published by the Free Software Foundation. 10 * published by the Free Software Foundation.
11*/ 11*/
12 12
13#ifndef __PLAT_DMA_H
14#define __PLAT_DMA_H
15
13#include <linux/dma-mapping.h> 16#include <linux/dma-mapping.h>
14 17
15enum s3c2410_dma_buffresult { 18enum s3c2410_dma_buffresult {
@@ -122,5 +125,6 @@ extern int s3c2410_dma_getposition(enum dma_ch channel,
122extern int s3c2410_dma_set_opfn(enum dma_ch, s3c2410_dma_opfn_t rtn); 125extern int s3c2410_dma_set_opfn(enum dma_ch, s3c2410_dma_opfn_t rtn);
123extern int s3c2410_dma_set_buffdone_fn(enum dma_ch, s3c2410_dma_cbfn_t rtn); 126extern int s3c2410_dma_set_buffdone_fn(enum dma_ch, s3c2410_dma_cbfn_t rtn);
124 127
125
126#include <plat/dma-ops.h> 128#include <plat/dma-ops.h>
129
130#endif