From patchwork Mon Jan 11 12:13:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101190 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp2070032lbb; Mon, 11 Jan 2016 04:13:40 -0800 (PST) X-Received: by 10.98.13.197 with SMTP id 66mr25259683pfn.125.1452514420840; Mon, 11 Jan 2016 04:13:40 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pf6si39960841pac.27.2016.01.11.04.13.40; Mon, 11 Jan 2016 04:13:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932738AbcAKMNi (ORCPT + 29 others); Mon, 11 Jan 2016 07:13:38 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:51284 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932471AbcAKMNh (ORCPT ); Mon, 11 Jan 2016 07:13:37 -0500 Received: from wuerfel.localnet ([134.3.118.24]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0M8dCZ-1ZvhAZ0OtX-00wApP; Mon, 11 Jan 2016 13:13:04 +0100 From: Arnd Bergmann To: broonie@kernel.org Cc: lgirdwood@gmail.com, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Deucher , Maruthi Srinivas Bayyavarapu , Murali Krishna Vemuri Subject: [PATCH] ASoC: AMD: add missing include Date: Mon, 11 Jan 2016 13:13:01 +0100 Message-ID: <4595844.NIUnxKiA0y@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:JR96ZvTZxtk5nanH1pY4u5vh7tdPF9qiduiSm29ZKvuUQiwTE68 6hyMJ1sMxJAOKHYGSDaZBQEKoE/7QNaSelU7t7lZ3O4B7XE1MpVhJhQz35Y6yf3JquzhSFu Ol/Wmz9X2Jk9qU2+YqkKxoQz5pTJU5vBhTBmzkJQEDOxyq/WsDPxu2gddBopqgfn+ekj+OK kvb1VCYt5QelNPLpSmjZw== X-UI-Out-Filterresults: notjunk:1; V01:K0:QwILDa0veT4=:z1v9LAqehfDRhr0M+2Bb/l X36k6kwcUituYWujMYGlK07ColQMFJHJwJmjZ/6Jf5x4Kqs5waD/0oz2+49B+qJdf5l+bcSYb neicsZVVTCoXHjRZVuMmR8t2lOyu1lbYtzc/Drl64rRGeHvHHgtoniuzRjyJ4pZLaPt8CZ6Ww 1UN6POvni19s/3WTXoweCYuS2ANx2fIFtzWF+i7E9np8Mp2bKER5W1bwbCKwnuP38fWztT0db FhuhPzXfZ0xqjEaNExp7zXysDTvFQMWISAt11zjlKD/+DISiZ22eL7cckPhsn2TaT53au10jr R3B552QsM6ioI3mSn47/lMuhLVlKnc7oxUnRILCFm6HijhjkNFvVQib2P6gu63UaCn9YwRTkA A4TxWFov4wLxp+rdMC4U08IlHIXAN1iEDAAsFBcO8NXusRfW/t0l1/S6avz62m4MDvX/fBYwQ RRmOigyrVfrAOXyD+GhS6a778rD2eoVDisDv5ZxS+AoXxz+fL/dPbvKM5c57mBu55eXqzQrqa 7hvfxOwweMtCcUjnLzMbvWpmQTDse4u+Ajyspkaf9XaL/WqiRhZsTXi0jerxgBTBEeVBt4U34 pKhv9foefAqFTcdMprTSbW68Y66Q/lVPgi2gZfNy7FaCRnqCkodCMhGv14QjTnj1k3e+SmCDo E1RLNexlHewBxv25iV7GBE/p2pJlNl8bDEgxmnZ2OFuuGo1gt3HVCMqvJ287DVWxHIfr+DIBJ hA/FV5C7dmb/DdwA Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The newly added AMD acp driver is missing an include for linux/io.h and fails to build on ARM: sound/soc/amd/acp-pcm-dma.c: In function 'acp_reg_read': sound/soc/amd/acp-pcm-dma.c:83:9: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration] This adds the missing line. Signed-off-by: Arnd Bergmann --- This build error also appeared today on linux-next with ARM randconfig diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c index cc8b841b69b6..fa0311e4faed 100644 --- a/sound/soc/amd/acp-pcm-dma.c +++ b/sound/soc/amd/acp-pcm-dma.c @@ -17,6 +17,7 @@ #include #include #include +#include #include