From patchwork Thu Nov 12 10:44:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324152 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp225913ils; Thu, 12 Nov 2020 02:44:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3+aHKnxE2gnweaSdVZy7qAUTTovtcvq5dQcWk1lIsbc0iAv6d6lkNcQyLwN0GFSa+2Ins X-Received: by 2002:a05:6402:143:: with SMTP id s3mr4234181edu.267.1605177866724; Thu, 12 Nov 2020 02:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605177866; cv=none; d=google.com; s=arc-20160816; b=0MEWiTNqxxhD95MkPcQqfmUM/OqSOrRIozyvytuNEJMoFAbaDetjosrLyVVNE1ZJrZ GDOSrsA+HqCI1iNk2BeUjhrXsJPC8zwt062GYRdk6M4aQIVxjvlNJaJfthBsXYsPEFcg NhqyepIfvrQhi3bQkFNwlrzbTURg0eAFXZ4dgUPuwiEXJsRQYoUsNKL3t7sO759SYeGY qBf/3ARgCjJKFEfYQtHgPFPzcZ6ip+nCX0/2OWcgEbGUdRrCjmsMixRf/VimSaqTKlCo 0qUhJNB4WlIO/SVKMZ2CQHEXYenP99Oh7BrWT+lfbobpV0G7Vch4F2hAYoQw3l+XuhR1 P04w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:to :from:date:dkim-signature; bh=ygXEyC17mmqkLuT+LSwnv8yANRbLqR9DFVnrEPXtZ4M=; b=LSy2d5IQxFFlV7W7Bum9PZ4RrNeTWVKnyuM0kx1JE1UeNTBxij/5tmUFurW5bLnd7S EAQWjPcxFquJgTnle6vNyldq3O8eIQ+IlrJczPWWOHK8ZsmCYKAExL+YKZY2AfEqR44S SzF+JkLKbfHoTe98ZV1q6xq6BHdqrPs4+U3pGU2GxtAav7XerSHKggVGVWXy5JIVDud1 2pBU/IZ8xDgNWq0TTE1tmYhO/QHWmj6nlEh4cfJSpdMUo+6vNdHKN7zL8CNSs7WN4ZIH HU059bwwIOyt4dOtU/h5NNqsxYZ7qe/dtwrfcYAdBghOCOr9tRKiig5dCyIR4UnFhYku lI3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I6ogObdQ; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si3563476edf.565.2020.11.12.02.44.26; Thu, 12 Nov 2020 02:44:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I6ogObdQ; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727940AbgKLKo0 (ORCPT + 1 other); Thu, 12 Nov 2020 05:44:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726107AbgKLKoZ (ORCPT ); Thu, 12 Nov 2020 05:44:25 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEAA6C0613D1 for ; Thu, 12 Nov 2020 02:44:23 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id 19so4845523wmf.1 for ; Thu, 12 Nov 2020 02:44:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=ygXEyC17mmqkLuT+LSwnv8yANRbLqR9DFVnrEPXtZ4M=; b=I6ogObdQP+1zd9NhSXGSnPGJAG4gcJxrpgTyuCCN5IYGW5plCifjhj9ca2dMhtwJBj +jAJIokPCuZDcPcoK16EIoxoHBrIJcm5KCT1lZwZfpyso0Cr0bQqsB/PbW+chwaIIN7Q RIwBigEbiHi8+MKGZwG4/OfPhr5JXtoTtf4CE+AYu4I9Ae7J9/Y8FnL481pzNwSw4pWj iQCws3HhM81hlBYKDbsuiZZ5xEDoXR1TUo2SghQx9hNtGb6eDUaMjD5cbffC888x6Le+ f7CEDPIPfSVSLFTAXpgXbi2/jAYDOlXH3AthoEzNKrCI/VO4t4DkhcO6vjbsCkRK0+SO /Drw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=ygXEyC17mmqkLuT+LSwnv8yANRbLqR9DFVnrEPXtZ4M=; b=Q+q01OCaEVX1iXiedkPXOlLDDL2WG52YOa2UnK7ZqBp5H3zUhOb1M597Qc6cR99Pam s9HQ6v2O0G+aRMQlP544vWWhaHYsChI4dr1EHyQ6x5zxuwfoV/XxNeiV3E5wWxE5iROL Lh9TAGj7ZOmlcNQyMgWYCPpzCyggauuSWxTmyxkfabbO06VqBDZ4Y2yzF8jtW9cOxF3z lh9FTnbWF8dzA03pMWJM7h5NHlMmzOseXE6vy22DvC4eWI3Z7/l768efDpQhGLgvdN9Z uzUXP6T4x1QBdEowKlosZCjKfXRGXysoNQVZJupX8dU408rqN/o8PVpyiFJCqIEDT6Zq s5JA== X-Gm-Message-State: AOAM533Nhp4gQa9DeZzmjTpBEWg11ooMh2c9M/c2ZMyd5b0CIEMr66Px 83w5wB6YhrAkAMWDj9w7MpmdUQ== X-Received: by 2002:a1c:7d12:: with SMTP id y18mr8856951wmc.103.1605177862562; Thu, 12 Nov 2020 02:44:22 -0800 (PST) Received: from dell ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id h62sm6060487wrh.82.2020.11.12.02.44.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 02:44:21 -0800 (PST) Date: Thu, 12 Nov 2020 10:44:20 +0000 From: Lee Jones To: linux-kernel@vger.kernel.org, Dmitry Torokhov , dusonlin@emc.com.tw, KT Liao , linux-input@vger.kernel.org Subject: [PATCH] input: mouse: elan_i2c_core: Move header inclusion inside Message-ID: <20201112104420.GG1997862@dell> References: <20201104162427.2984742-1-lee.jones@linaro.org> <20201104162427.2984742-7-lee.jones@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201104162427.2984742-7-lee.jones@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org The same clause as its use. Fixes the following W=1 kernel build warning(s): include/linux/input/elan-i2c-ids.h:26:36: warning: ‘elan_acpi_id’ defined but not used [-Wunused-const-variable=] Cc: Dmitry Torokhov Cc: Henrik Rydberg Cc: Jingle Wu Cc: dusonlin@emc.com.tw Cc: KT Liao Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones --- drivers/input/mouse/elan_i2c_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index c599e21a84784..65d21a050cea0 100644 --- a/drivers/input/mouse/elan_i2c_core.c +++ b/drivers/input/mouse/elan_i2c_core.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #include @@ -1413,6 +1412,7 @@ static const struct i2c_device_id elan_id[] = { MODULE_DEVICE_TABLE(i2c, elan_id); #ifdef CONFIG_ACPI +#include MODULE_DEVICE_TABLE(acpi, elan_acpi_id); #endif