Skip to content

Commit

Permalink
crypto: s5p-sss - Fix compilation error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Herbert Xu committed Nov 9, 2012
1 parent 14198dd commit a465348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/s5p-sss.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <crypto/ctr.h>

#include <plat/cpu.h>
#include <plat/dma.h>
#include <mach/dma.h>

#define _SBF(s, v) ((v) << (s))
#define _BIT(b) _SBF(b, 1)
Expand Down

0 comments on commit a465348

Please sign in to comment.