From patchwork Fri Jun 9 10:29:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 103462 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp138964qgd; Fri, 9 Jun 2017 03:30:05 -0700 (PDT) X-Received: by 10.98.217.155 with SMTP id b27mr41087022pfl.17.1497004205674; Fri, 09 Jun 2017 03:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497004205; cv=none; d=google.com; s=arc-20160816; b=aI9SL6hPUvRsMZjRC99d85VCHxsvG2MXRNgR4ulu/ZmKvc3ui+MpvMxSq3UH3pEx0u pnRIWF077rGAjQ070sFOcAog1XfQMfJl80HjpZtrMfokvA+8c483aXy0h3FImColN9Us wp63x6jtlJAWMlEYDy+ppDSvZOjNBwgPfIhXk2NA3T2DZSr9CxM7kK3vAJQw/0CdAe9V Ne0aTer8Xdz7uJBURSrfnrou9vCuwhc4+kz8zzg/O9rk9TMwWTm+ilutPZbmHo96J9pv KRaWKSIDNuyDvsRHnzOkj+9XEpH0pHEmcXGvUqFxE7mqmUjgmu3E0TX2RcP4aFr7g0Lw 4rGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=WSMZkHHMQtKbcZ9jNroR7kruwyrKjTc91z2qD6dn/po=; b=fKG5Uh1KU7Z/OocO64gZ7YVbBjI7Ug3xTTv306AZQz83BzKnsL/HbZmCQ7dloUE3Yt Ma00lne9wXVNh8QeyehFwaDmq1GtZ2oWqSreZjnOO4nf6s47bbAFqMgXeBNF2TpwdL97 vT1nx97HhL++kEGLuTj5KBjT4VQPbQQnOX0D9s1QjKI/soJsO2PvpbgBqF3xA8DyG2HE CiolHg1Pucqu79CnhYGtqKPb7KyFHvdcn1goNoktVr9bn9A8SM4knoNWA6khvm5KLCop t0SmdtwMtrqxzBQ2BD6TPvV8+ONnpXz9/QZz8rFHdoWSKFCduM9sdUqPmSsiqEa9NGfU jJrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f66si653446pff.247.2017.06.09.03.30.05; Fri, 09 Jun 2017 03:30:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751661AbdFIKaE (ORCPT + 1 other); Fri, 9 Jun 2017 06:30:04 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:55715 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751571AbdFIKaD (ORCPT ); Fri, 9 Jun 2017 06:30:03 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.129]) with ESMTPA (Nemesis) id 0LvtTJ-1dw3vL2Rdl-017jvq; Fri, 09 Jun 2017 12:29:38 +0200 From: Arnd Bergmann To: Wolfram Sang Cc: Arnd Bergmann , Hoan Tran , Ludovic Desroches , Tin Huynh , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] i2c: xgene-slimpro: include linux/io.h for memremap Date: Fri, 9 Jun 2017 12:29:12 +0200 Message-Id: <20170609102937.3054567-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:PW+gyfDkYXthspTfACqOfPUPIzd9HlUFzHGz7wdO/wYIhRu8KKN p1mjFQUz56QJIyQbEpR4u2nMoJXClgNvCfuUnErt6hIMQBP8ZFHAulV4KO/dNlnJkfhy0AF Y/4GzR53ycMsXMWSDEWK8n7x/eG/KMtLz7FeE4aAXmB4YHZqXx7QI78i14SnWQnXaXM9lLi iJwzbGu98cZ8vJOdG/j+w== X-UI-Out-Filterresults: notjunk:1; V01:K0:Z5E46MmQc48=:V9a1W5kJ94TA+DuiaG5hkx v/LHfjjiNVkJdHx+Yn0I5yKH5W+1+v0DtNniWDSF4FFjcbx+8yBx1fAJ/O5mPoeq+ggAea3G4 2UhJ29sW7tTj4AD4b9K57a/kZPx9/wiJf3/TtuM2VeBUB/Vsn77ZfLwWN73nepxWNFRFCS/aH S0jVJket3qZNXoapzKiudN83XMuelsI4M9RYAq5Tv9l7gDdRzZWXNqLNrCIUdrIPxh5ZWW8Fz AJmAM9/3W3q4LCe/ONIRYjOwejHPedut1FYw/fueY8oInvc4YvU1cmKJ7QnRl64VDQl/pl9GG rZq8oHgUlmWYgwPlkhovcmLKtCvcm5KgazgwmpMy/AUmAyws7aKE7D4Dxxda/Bt71JpIMT0/9 ja/6DzKX3bhLvWihM/KvdI9ZVcmKvdR0yni5/XXl0t8nbyf+58L5Cqgao5dJZGGGjp/auaCdf zVkj7wObwofQKIuYHesBxqYmv7wsgd4lyf1NYvWV6Dzlr10o4QGlAiMxr2iKtYIS1jVnvYXEl B8DV4xbn9Ua60PSyGTME/R+dU3htxDTK97Jw9+17j1WufoM+mde6quYG4N1FKdYKsUZP4eZYG Ri+yV8VN3YBQYAzY4IDUHrK7hyuDcOQ/qCmfRcmFtjMF79aXUNVmOOWI7n0urOQSlfIme/+/1 QT/57Mav9IFEzGjUSmqGIYxBHT0rPGNqaYfYhH0+kODKjOip9k08dNieUzmTvJ26BMdA= Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org The newly added support for the pcc mailbox fails to build in some configurations: drivers/i2c/busses/i2c-xgene-slimpro.c: In function 'xgene_slimpro_i2c_probe': drivers/i2c/busses/i2c-xgene-slimpro.c:516:25: error: implicit declaration of function 'memremap'; did you mean 'memcmp'? [-Werror=implicit-function-declaration] drivers/i2c/busses/i2c-xgene-slimpro.c:518:13: error: 'MEMREMAP_WB' undeclared (first use in this function) drivers/i2c/busses/i2c-xgene-slimpro.c:518:13: note: each undeclared identifier is reported only once for each function it appears in This includes the missing header file. Fixes: df5da47fe722 ("i2c: xgene-slimpro: Add ACPI support by using PCC mailbox") Signed-off-by: Arnd Bergmann --- drivers/i2c/busses/i2c-xgene-slimpro.c | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Hoan Tran diff --git a/drivers/i2c/busses/i2c-xgene-slimpro.c b/drivers/i2c/busses/i2c-xgene-slimpro.c index 8e5c8f28bc8b..7e89ba6fcf6f 100644 --- a/drivers/i2c/busses/i2c-xgene-slimpro.c +++ b/drivers/i2c/busses/i2c-xgene-slimpro.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include