Skip to content

Commit a465348

Browse files
Sachin Kamatherbertx
authored andcommitted
crypto: s5p-sss - Fix compilation error
struct s3c2410_dma_client gets defined multiple times as it is defined in more than one header file. Changing it at the header file level causes many more build breakages as they are interdependent in a complex way. Hence fixing this problem by using the mach version of the header file. Without this patch, following build error is observed: arch/arm/plat-samsung/include/plat/dma-pl330.h:106:27: error: redefinition of struct s3c2410_dma_client Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 14198dd commit a465348

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/crypto/s5p-sss.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include <crypto/ctr.h>
3131

3232
#include <plat/cpu.h>
33-
#include <plat/dma.h>
33+
#include <mach/dma.h>
3434

3535
#define _SBF(s, v) ((v) << (s))
3636
#define _BIT(b) _SBF(b, 1)

0 commit comments

Comments
 (0)