From patchwork Wed Jan 28 15:04:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 5728551 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 BB66EBF440 for ; Wed, 28 Jan 2015 15:05:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 16EE020265 for ; Wed, 28 Jan 2015 15:05:35 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 2FC32202B8 for ; Wed, 28 Jan 2015 15:05:34 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 2B813261B25; Wed, 28 Jan 2015 16:05:33 +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 5A71A261AC3; Wed, 28 Jan 2015 16:05:25 +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 E1C1F261ACA; Wed, 28 Jan 2015 16:05:23 +0100 (CET) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) by alsa0.perex.cz (Postfix) with ESMTP id 12FBF261A84 for ; Wed, 28 Jan 2015 16:05:17 +0100 (CET) Received: from wuerfel.localnet ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0M8zxV-1YOQGQ3hq1-00CO4W; Wed, 28 Jan 2015 16:04:47 +0100 From: Arnd Bergmann To: Takashi Iwai Date: Wed, 28 Jan 2015 16:04:46 +0100 Message-ID: <3560329.35JVsOOFlQ@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <7794866.XZSLAdxcrb@wuerfel> MIME-Version: 1.0 X-Provags-ID: V03:K0:dMIlYrTsX7z1p2NPc6HW8bZ32f6Bo8uUJs9quo4/66IxYn6xcuN DHCDnMYuIrO0ibJzQk6ELgBFJSVzTU47ibnVdZYih1Zwhqv8lF9yCqwKcsvN1H3YKPIE78g NwK6cOePZDuFO3h/S0gBPzvwkwxvAwhqHHVfCsHpsaG66oX1k7kQJK35PTn1RksNqJJ4ZMt pF0SRnOpnN4CZjrbm+DJQ== X-UI-Out-Filterresults: notjunk:1; Cc: 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 linux/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 linux/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 --- Sorry about messing up the patch description the first time. I'm cleaning out old patches from a randconfig build tree and I found this one was still needed but did not inspect the changelog closely enough. 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