From patchwork Wed Feb 26 13:12:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jarkko Nikula X-Patchwork-Id: 3724061 Return-Path: X-Original-To: patchwork-alsa-devel@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 BFB929F35F for ; Wed, 26 Feb 2014 13:12:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D04122017B for ; Wed, 26 Feb 2014 13:12:55 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id B1248200D0 for ; Wed, 26 Feb 2014 13:12:54 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 65D1B265707; Wed, 26 Feb 2014 14:12:48 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 1BD3C26569A; Wed, 26 Feb 2014 14:12:38 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id DA06A2656A3; Wed, 26 Feb 2014 14:12:36 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by alsa0.perex.cz (Postfix) with ESMTP id E1F022655A0 for ; Wed, 26 Feb 2014 14:12:29 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 26 Feb 2014 05:12:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,547,1389772800"; d="scan'208";a="482080829" Received: from mylly.fi.intel.com (HELO mylly.fi.intel.com.) ([10.237.72.153]) by fmsmga001.fm.intel.com with ESMTP; 26 Feb 2014 05:12:25 -0800 From: Jarkko Nikula To: alsa-devel@alsa-project.org Date: Wed, 26 Feb 2014 15:12:21 +0200 Message-Id: <1393420341-31625-1-git-send-email-jarkko.nikula@linux.intel.com> X-Mailer: git-send-email 1.8.5.3 MIME-Version: 1.0 Cc: Liam Girdwood , kbuild test robot , Mark Brown , Jarkko Nikula , Liam Girdwood Subject: [alsa-devel] [PATCH] ASoC: Intel: Baytrail: Fix implicit declaration of function 'memcpy_fromio' X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Some kernel configurations can cause following build error: sound/soc/intel/sst-baytrail-ipc.c: In function ‘sst_byt_get_dsp_position’: sound/soc/intel/sst-baytrail-ipc.c:744:2: error: implicit declaration of function ‘memcpy_fromio’ [-Werror=implicit-function-declaration] memcpy_fromio(&fw_tstamp, ^ cc1: some warnings being treated as errors Fix this by including explicitly. Reported-by: kbuild test robot Signed-off-by: Jarkko Nikula --- Also sst-dsp., sst-baytrail-dsp.c and sst-haswell-dsp.c are using memcpy_fromio/_toio but there seems to come via or so I didn't touch them. --- sound/soc/intel/sst-baytrail-ipc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/intel/sst-baytrail-ipc.c b/sound/soc/intel/sst-baytrail-ipc.c index 8c91a68b90bc..8b067e34094e 100644 --- a/sound/soc/intel/sst-baytrail-ipc.c +++ b/sound/soc/intel/sst-baytrail-ipc.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "sst-baytrail-ipc.h" #include "sst-dsp.h"