Message ID | 20201104193549.4026187-18-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp5698214ilc; Wed, 4 Nov 2020 11:36:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxR5Cx07NYN5Ab0FX5B4gxTTXRRsZvJ3NttwxL83F3YRam33PN+NWbwkf0lxMb+iUkaR2Ns X-Received: by 2002:a05:6402:3056:: with SMTP id bu22mr28164963edb.252.1604518587095; Wed, 04 Nov 2020 11:36:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604518587; cv=none; d=google.com; s=arc-20160816; b=TWHcbUbtfReX26auOGnJAxpxQuB9H2mX7Cyv7EJoZc+7ICyjtJSbU+xSM0hK/tUOe2 xqzoBJZTieek1VEldP0b8NnheVtJ4sH6CfeAnJg6oDaafUWaRCUdSsi5COsNZqTsQQ+L huNDWgQrx3kxS1XCuCy9zwafOrrR3iAR8lT6H6nKQ1U8w6sVUT90HKT5CPbbMec0+67N HxJ2F8HZ8VVYRuWUEUB6xRiamgKHfWk/T12iYeSAFelTH2j25WRq+woxHG1zwmY72EVx 5o1vp/7M73CuZxfiZsdM3bSIAsUKG59UPMiNO69n1ULK9UUGQxuGtIvYu2fg2/pqAlxm usug== 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=NtIeSIb4yAFfPO7lLUJvKdHimLDXId+VWyu9rAlEpa+pooqbVa3RWS4H91NO+kfMNy NLFooulvCU9trvvjZ0ZBA2+nufxWX+NTrb/cB8QyLe+YQtd/k/8ASGjonYyUeAirC/rC K/b03qs4zPqZAU40neXFaiMsZXEnPiSgpJQknt2b5gJ1QdMEaMAlw97c4pK9ttVvBodi Czxc8oMf6ZaT8KXtTg7s61DJSib3xekOH3rno3dL0re4NBURsYFDhcE8DB3Taegwo5Vs wJvgHnlIdeF7Z9xezFRl/Xt/N1WvVo3puAJQffg/9qdZ/DMGydAAHdEMogN9yN6p73L4 UrLQ== 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-serial-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-serial-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si2019418ejb.105.2020.11.04.11.36.26; Wed, 04 Nov 2020 11:36:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-serial-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-serial-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-serial-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 S1731047AbgKDTgZ (ORCPT <rfc822;sumit.garg@linaro.org> + 2 others); Wed, 4 Nov 2020 14:36:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731018AbgKDTgY (ORCPT <rfc822;linux-serial@vger.kernel.org>); Wed, 4 Nov 2020 14:36:24 -0500 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74F65C0613D3 for <linux-serial@vger.kernel.org>; Wed, 4 Nov 2020 11:36:24 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id h2so881740wmm.0 for <linux-serial@vger.kernel.org>; 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=N2RSUH9MbU0+WkrM3BfAY8ijIVQSVbmikDGwzdmwxtz9flVTEQmj6/4mUw/rRMCaBb a9KFxFQjLPVoR2ZByLfoNRlz0JnV65NSBrRoVaCC+WBeZY2sdbqKEC2lg42npXkRn+9h kYi1cNlL2n4h4YGU+X17qWMb7IzAVR8qo5b4QvkfRVs8ZeJjA1bzQU4kv39CmDWpzexr gEYMlxjsSXXrmToWd3DGks5kCk2+/HxD67SlZKwFhMXnCkMM9yoG0gmh65fhbPAVGJjW C3RJo/BdykyJMinodcQ93IgUVshX4fvRXU0fH8ty2hsn1e7+BNPJRzhjtiy3YdFTL/yY n+Uw== X-Gm-Message-State: AOAM531I9a+24Fdj04gK6co6bTgWUi4f0RMyeiQBSrEswyDUVs5UfyLf gwOM13bzG7F4ehiEh3QfPguKcQ== 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 <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Russell King <linux@armlinux.org.uk>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, 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: <linux-serial.vger.kernel.org> X-Mailing-List: linux-serial@vger.kernel.org |
Series |
[01/36] tty: serdev: core: Remove unused variable 'dummy'
|
expand
|
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 }, {}, };
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 <linux@armlinux.org.uk> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jirislaby@kernel.org> Cc: linux-serial@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/tty/serial/amba-pl011.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1