Skip to content

Commit

Permalink
ARM: SAMSUNG: Guard against multiple inclusion of plat/dma.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Kukjin Kim committed Jan 11, 2012
1 parent e343a89 commit 8ca0686
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/arm/plat-samsung/include/plat/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* published by the Free Software Foundation.
*/

#ifndef __PLAT_DMA_H
#define __PLAT_DMA_H

#include <linux/dma-mapping.h>

enum s3c2410_dma_buffresult {
Expand Down Expand Up @@ -122,5 +125,6 @@ extern int s3c2410_dma_getposition(enum dma_ch channel,
extern int s3c2410_dma_set_opfn(enum dma_ch, s3c2410_dma_opfn_t rtn);
extern int s3c2410_dma_set_buffdone_fn(enum dma_ch, s3c2410_dma_cbfn_t rtn);


#include <plat/dma-ops.h>

#endif

0 comments on commit 8ca0686

Please sign in to comment.