From patchwork Fri May 9 11:35:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 4141781 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 355AA9F1E1 for ; Fri, 9 May 2014 11:35:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5BD8220263 for ; Fri, 9 May 2014 11:35:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A8D0201DD for ; Fri, 9 May 2014 11:35:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755260AbaEILfy (ORCPT ); Fri, 9 May 2014 07:35:54 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:56729 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755027AbaEILfx (ORCPT ); Fri, 9 May 2014 07:35:53 -0400 Received: from wuerfel.localnet (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue101) with ESMTP (Nemesis) id 0MOS0r-1WmHKT1lMD-005rI6; Fri, 09 May 2014 13:35:40 +0200 From: Arnd Bergmann To: Herbert Xu Cc: linux-crypto@vger.kernel.org, "David S. Miller" , Naveen Krishna Chatradhi , Tomasz Figa , linux-samsung-soc@vger.kernel.org, Vladimir Zapolskiy Subject: [PATCH] crypto: s5p-sss: fix multiplatform build Date: Fri, 09 May 2014 13:35:39 +0200 Message-ID: <4525493.CM3akEXMYf@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.11.0-18-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V02:K0:nUT3x7JjDs1/0PjkYCEPC1PYfZWcIHEWykzJuXZ8VYc S40gIJU7ZPEFnm91IbCi9tvqdcaC7Hw2f04Ei4NcfIBfgvrdXp jPTrGEG67VX40Zi7vkwtXgenvcVmByeeYhbblZATFpLzTKt3GU zNIbLNPd7DQo2yVrefhcYogr7VxuIDFPdIWgLVVAH9Ggnsk3p5 EsMk2I4QJ9wPcYANxExL+Df2N9RmZUvCgCRXhfQROosDgV8tWD arDJpFinoSHd2WIgk0YZhio2CNBdfAhHpjRLX1L3Bmawok+x+q OC1vd+8tM/VdSJM5qG89firtE+JqtgvTHoPRs77JTYT3hVCvdQ 0R2p0Cpzju/dKl1zCrU0= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP As we are preparing to enable multiplatform support on EXYNOS, we can no longer include mach/*.h or plat/*.h headers from device drivers. The s5p-sss driver was just enabled for EXYNOS when it used to be used only on s5pv210, and it includes two samsung platform specific header files for historic reasons. Fortunately, it no longer actually needs them, so we can remove the #includes and avoid the problem Signed-off-by: Arnd Bergmann Cc: Naveen Krishna Chatradhi Cc: Tomasz Figa Cc: Cc: Vladimir Zapolskiy Cc: Herbert Xu Reviewed-by: Jingoo Han --- Please apply on top of the other s5p-sss patches -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/crypto/s5p-sss.c b/drivers/crypto/s5p-sss.c index 47c568e..4197ad9 100644 --- a/drivers/crypto/s5p-sss.c +++ b/drivers/crypto/s5p-sss.c @@ -30,9 +30,6 @@ #include #include -#include -#include - #define _SBF(s, v) ((v) << (s)) #define _BIT(b) _SBF(b, 1)