From patchwork Wed Jan 25 23:46:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 9538169 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 966E66042B for ; Wed, 25 Jan 2017 23:47:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C2BE27D9B for ; Wed, 25 Jan 2017 23:47:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80B3427FB0; Wed, 25 Jan 2017 23:47:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F11B627D9B for ; Wed, 25 Jan 2017 23:47:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cWXHg-00009v-PJ; Wed, 25 Jan 2017 23:47:24 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cWXHd-000073-RD for linux-arm-kernel@lists.infradead.org; Wed, 25 Jan 2017 23:47:23 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DAC906085A; Wed, 25 Jan 2017 23:47:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1485388020; bh=ss9+rMsAJdtWD2+NGIedHMf290dawbddAtAEynPelt0=; h=From:To:Cc:Subject:Date:From; b=A2GFQ77JtEfD7kYvmMu3Kfi/u+ZPXR4z9ohZINPiLRVv4YLa+0LoS4fy/6/yJihqO NW/CM7Jd7Cxm8WTjwAb4r6BW5tdv/kAvjiHG5geVhwyj3b9O5HbsvXT6NIFSDSJ45X aLfgyc/6i9CirMWkAkoGoa0r3vOSK72WPZvUCxjI= Received: from sboyd-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id DD27D60808; Wed, 25 Jan 2017 23:46:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1485388020; bh=ss9+rMsAJdtWD2+NGIedHMf290dawbddAtAEynPelt0=; h=From:To:Cc:Subject:Date:From; b=A2GFQ77JtEfD7kYvmMu3Kfi/u+ZPXR4z9ohZINPiLRVv4YLa+0LoS4fy/6/yJihqO NW/CM7Jd7Cxm8WTjwAb4r6BW5tdv/kAvjiHG5geVhwyj3b9O5HbsvXT6NIFSDSJ45X aLfgyc/6i9CirMWkAkoGoa0r3vOSK72WPZvUCxjI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DD27D60808 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org From: Stephen Boyd To: Will Deacon , Mark Rutland Subject: [PATCH] perf: xgene: Include module.h Date: Wed, 25 Jan 2017 15:46:58 -0800 Message-Id: <20170125234658.12071-1-sboyd@codeaurora.org> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170125_154721_907677_F367C964 X-CRM114-Status: GOOD ( 11.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tai Nguyen MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP I ran into a build error when I disabled CONFIG_ACPI and tried to compile this driver: drivers/perf/xgene_pmu.c:1242:1: warning: data definition has no type or storage class MODULE_DEVICE_TABLE(of, xgene_pmu_of_match); ^ drivers/perf/xgene_pmu.c:1242:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int] Include module.h for the MODULE_DEVICE_TABLE macro that's implicitly included through ACPI. Cc: Tai Nguyen Signed-off-by: Stephen Boyd Tested-by: Tai Nguyen --- drivers/perf/xgene_pmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/perf/xgene_pmu.c b/drivers/perf/xgene_pmu.c index a8ac4bcef2c0..fb3281962a6d 100644 --- a/drivers/perf/xgene_pmu.c +++ b/drivers/perf/xgene_pmu.c @@ -20,6 +20,7 @@ */ #include +#include #include #include #include