From patchwork Wed Jan 28 14:54:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 5728511 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 94197BF440 for ; Wed, 28 Jan 2015 14:54:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E2FDA20218 for ; Wed, 28 Jan 2015 14:54:32 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 8E9CD201CE for ; Wed, 28 Jan 2015 14:54:31 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id C400B261A66; Wed, 28 Jan 2015 15:54:29 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org 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 1D691261A76; Wed, 28 Jan 2015 15:54:18 +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 30153261A32; Wed, 28 Jan 2015 15:54:17 +0100 (CET) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by alsa0.perex.cz (Postfix) with ESMTP id 5241D261A32 for ; Wed, 28 Jan 2015 15:54:10 +0100 (CET) Received: from wuerfel.localnet ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0Me7bO-1Y2e7G3uRC-00Ptnh; Wed, 28 Jan 2015 15:54:05 +0100 From: Arnd Bergmann To: Jaroslav Kysela Date: Wed, 28 Jan 2015 15:54:04 +0100 Message-ID: <7794866.XZSLAdxcrb@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:uM3Iclk2mUq80w6e3Th2nakszcvTe3lTHsSmllHaFP4BQyn8nUq dm06e4F7tItlea+EdJM2OvNDQOitubFRnqLSPg/kKLfy26JTztRcuj2zPMEY3nHtnxU+S11 gHLBX0iI9YE15odZ4UQEqAux8KplCWeKE7YFcXLwB8IyjJYl8Lw30ANsAQGOU+6kkiR7DhZ guSaRBoTwvP3h9xrvpwXg== X-UI-Out-Filterresults: notjunk:1; Cc: Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH] sound: sscape: add missing include of asm/io.h 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 The soundscape driver uses the ISA inb/outb functions declared in asm/io.h, so it needs to include this header to avoid a build error: sscape.c: In function 'sscape_write_unsafe': sscape.c:203:2: error: implicit declaration of function 'outb' [-Werror=implicit-function-declaration] Signed-off-by: Arnd Bergmann diff --git a/sound/isa/sscape.c b/sound/isa/sscape.c index 018ab140c2be..7b248cdf06e2 100644 --- a/sound/isa/sscape.c +++ b/sound/isa/sscape.c @@ -23,6 +23,7 @@ #include #include +#include #include #include #include