Received: by 10.223.185.116 with SMTP id b49csp1038499wrg; Fri, 23 Feb 2018 10:47:51 -0800 (PST) X-Google-Smtp-Source: AH8x225EQJpsOMau2sCA1myOgPIbMCVicB2BtBPk1+lpWDZs6YB3Wyle5VU7NLSVWs1LhRzVKDzi X-Received: by 10.99.173.73 with SMTP id y9mr2131638pgo.432.1519411671397; Fri, 23 Feb 2018 10:47:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519411671; cv=none; d=google.com; s=arc-20160816; b=y642bsJoyLN9hgxdk9sel9DRMU3jxVbS5H4IHHMaMX69s9GT2Bjv1Zk+0GazO4+/eJ /X01ptIFIzuTA2VPQ993OYzdBgLwiwTwUc77A0WEOOTO+loa2eNTv9F3UGZbP/V3mJeP Up+v1ODZviMMqAh0LNiQhcidQjaoY0gdebnxIee23Y85ukKDbaI5yN1hohbJlhomyKi6 n317C3O3fEPamMuwrMBElrsYnadOEaRZIiUDZcSU0Kw1TI4JuEFTFJ7sjRUmLv6LqBi+ KiOLD7nu864qWFvJUX/EtsOgUvuIJ5cgXOfFSS0tMLPN2fRAwrbPzNRHUVUEe7j4uUjJ b4MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=3ojkqMIqU81gztgUwCHGxx549RIKSe9WEpDLK8A5z14=; b=xFTmb4YRDnbvRDl3k/OWQiz914tS4TsUAWhxUZut7kQRT71H0+HWajgGihg8RYrzyx 15gUvbo05k+cv42/3RVsIR9I3a3ypwp8MaGuQrhQw/WQorO4ewCT7aL5J8+qV1PbbOoe hHR0mf7GcMO3x7JLLhPG7twI/FvKSueUWqUlgirA4PkKTUj0+v/36x/KvchqPTA1Vk+N Onsu4q6WX1cL1OhEfVnwNKBBE17LaN8ujaEGJTNcoWlSoBwi1di0aCsyZaOsThKeVuao ttsk+tlNC6lf0jfY8ZQypuSMMket0a8d66DEh0D1q2w9sJ7kJbcN/Sch/YMQAyf33mWr BV3Q== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si2162710pla.496.2018.02.23.10.47.36; Fri, 23 Feb 2018 10:47:51 -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 S934052AbeBWSqq (ORCPT + 99 others); Fri, 23 Feb 2018 13:46:46 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:43838 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933380AbeBWSqo (ORCPT ); Fri, 23 Feb 2018 13:46:44 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 086ED12E1; Fri, 23 Feb 2018 18:46:43 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tai Nguyen , Stephen Boyd , Will Deacon Subject: [PATCH 4.9 101/145] perf: xgene: Include module.h Date: Fri, 23 Feb 2018 19:26:47 +0100 Message-Id: <20180223170737.860877648@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170724.669759283@linuxfoundation.org> References: <20180223170724.669759283@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stephen Boyd commit c0bfc549e96231e0ead4424de6e4933fde819d70 upstream. 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. Tested-by: Tai Nguyen Signed-off-by: Stephen Boyd Signed-off-by: Will Deacon Signed-off-by: Greg Kroah-Hartman --- drivers/perf/xgene_pmu.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/perf/xgene_pmu.c +++ b/drivers/perf/xgene_pmu.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include