From 5306937cc703184e793eb7fa228e14011e845a94 Mon Sep 17 00:00:00 2001 From: Steve Cornelius Date: Wed, 18 Apr 2012 13:46:54 -0700 Subject: [PATCH] ENGR00180943-8: Differentiate inclusions for OF versus non-OF platforms Differentiate inclusions for OF versus non-OF platforms, and include clock control subsystems for ARM targets. Signed-off-by: Steve Cornelius --- drivers/crypto/caam/compat.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/caam/compat.h b/drivers/crypto/caam/compat.h index 5585416525f1..9ad93d4156c2 100644 --- a/drivers/crypto/caam/compat.h +++ b/drivers/crypto/caam/compat.h @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include @@ -22,6 +21,18 @@ #include #include #include + +#ifdef CONFIG_OF +#include +#else +#include +#endif + +#ifdef CONFIG_ARM /* needs the clock control subsystem */ +#include +#include +#endif + #include #include -- 2.39.5