Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1540834pxb; Wed, 4 Nov 2020 11:40:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxjBHS2COZyIOl/men2nNgWUiRtn5ij4HPqEeARj/tv7mqmwiMomR+CtD8KMJNIRImt/P/5 X-Received: by 2002:aa7:dd42:: with SMTP id o2mr28277082edw.53.1604518843156; Wed, 04 Nov 2020 11:40:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604518843; cv=none; d=google.com; s=arc-20160816; b=gAW7enD1xRi+ap+FsGWNoLjgBMIgNz+R8knfIeg4zp6zRqqMR4e9q/FZVx5XmR+Et1 ocSjhMml6pTQq4cagk2pTqLA2a4clj1q+WZnibkCl7SEtuiOAU+Eg1hcYCmzfFY0oopj +8hygbhXRmCZqBBN+FzTz/7MgGtmNnBHTveiU1Xw290FThD81IB/Ebm90lQ+RhFX0Ub1 lSLOPzsCft5X/I69ygky7ODM/lWV0eLutuP5xPNyU0l+PyHGVFiDcNM0bPu1reh+WUIX hleCiiDWmQ+lewwvBqhyubRC6SogZEZC+7spxQMrjw6DXyrA7D+j1QFk3g3Bm6u6mQWp X9qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PCthp+iIayFdO+hk3LjcuMh49TMSV9TDkGCxD2U2U74=; b=ag1doPOnR87sFUPYNl3f+W8z2j85C/BKduDB0+x9FOBaZ5EKHdXGSNexbXJF2A/90P +pLCia5OhtPuSIoSH5mHYDQPdjAJW+s1/JxGMTnZoVFqUj9c1CcOF/oTOtQgc+7EyoVv GsoxhVlNLhzmw/i8ikFMLDibrdW4NEyW8jRMmUsXae3lc6MlmKRcYZV/1VEaWGKT6Usu euHQ/A5d6oqyRUOJFnR4MpwyqN5lxDppHD8MJnxpqek8AjiUUwNdFrL5W7EWoo5d03yd 6g87KeBPMILBds1RKpq7ck7U+Pl66bV3z3n7xleDP6Z5YIQr5qEgkkUHF6YWMC6H/X5r uTPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tdLzplEr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 dh19si1863261edb.148.2020.11.04.11.40.20; Wed, 04 Nov 2020 11:40:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=tdLzplEr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1731505AbgKDThz (ORCPT + 99 others); Wed, 4 Nov 2020 14:37:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731018AbgKDTg0 (ORCPT ); Wed, 4 Nov 2020 14:36:26 -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 75683C0613D4 for ; Wed, 4 Nov 2020 11:36:24 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id e2so3440994wme.1 for ; Wed, 04 Nov 2020 11:36:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PCthp+iIayFdO+hk3LjcuMh49TMSV9TDkGCxD2U2U74=; b=tdLzplErGzlsTMvA24FKwL+xCV7IDZGYkhg0Ou03OOiOpukQUndtoqdN4Btssu+uh5 pHqlPj6YXHeaWY3svCwI+7BVuZnpLg9kcBdM3/i04heoyrJMQNzzUhmNBeh8Yx1aNXF9 zfq84NfJovwoP6B0NFVL4tsiXIWzvB3qmeFTQP1QCxQ/Jsk/MR9hKniaUp9Hnjz3XE88 pvWufpKWRjTPPVPfazBFWwYRfO50piv+Fff8KFd1J6zfTrJfwY9nT65ktGWC6K+/eWMX NMTU5EATHwcZAsh3okG6nCEDbMWxSQN4ts5Y5s9aEIz0sXJZ8GY2v+CtagQdWeVvYYyH ce5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PCthp+iIayFdO+hk3LjcuMh49TMSV9TDkGCxD2U2U74=; b=ZLvXXYeEfgC2/AEm2cCFDBlrJ1e3QwliKDc5FDBfKEo6eWtuUl9RWfadzko6bYAD8C SvWj5VkLMpdESVGo1w8twaOdwAHsURC8DUsSCReDNpX/B5whBGfFOCpXkf1X/GAbdHN6 ta8KR34GuUm4MERD2OgaSzeaZ94uAXJW/+TKDPr5mXStsxuoTw3PHljcjqLXw695hZyl M36sJ3mg9JBeVmka3Z9Cc4yfE/xFKP7haa3Kdh7avhoXcjTfTAoL0O/iNKj1EO24Xwax H1CKAJnBMkX86VwGsI7F67VQ9AAcDNt3/XLgowGCFrSnma9+58BdzM7rEiWjneY96lX2 lZYg== X-Gm-Message-State: AOAM5329j4+QcwKrrRkqVT8qIO7k2toDDu9kFekIW8AP2JwlTLsDsufJ orrJG28Ur5pPk/H5BoUS5dHKfg== X-Received: by 2002:a7b:c11a:: with SMTP id w26mr6582229wmi.78.1604518583103; Wed, 04 Nov 2020 11:36:23 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id x10sm4034444wrp.62.2020.11.04.11.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:36:22 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Russell King , Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org Subject: [PATCH 17/36] tty: serial: amba-pl011: Mark 'sbsa_uart_acpi_match' as __maybe_unused Date: Wed, 4 Nov 2020 19:35:30 +0000 Message-Id: <20201104193549.4026187-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104193549.4026187-1-lee.jones@linaro.org> References: <20201104193549.4026187-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When !ACPI 'sbsa_uart_acpi_match' is not referenced. Fixes the following W=1 kernel build warning(s): drivers/tty/serial/amba-pl011.c:2792:36: warning: ‘sbsa_uart_acpi_match’ defined but not used [-Wunused-const-variable=] Cc: Russell King Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-serial@vger.kernel.org Signed-off-by: Lee Jones --- drivers/tty/serial/amba-pl011.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 87dc3fc15694a..c255476cce287 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2789,7 +2789,7 @@ static const struct of_device_id sbsa_uart_of_match[] = { }; MODULE_DEVICE_TABLE(of, sbsa_uart_of_match); -static const struct acpi_device_id sbsa_uart_acpi_match[] = { +static const struct acpi_device_id __maybe_unused sbsa_uart_acpi_match[] = { { "ARMH0011", 0 }, {}, }; -- 2.25.1