Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp590604ybt; Wed, 1 Jul 2020 05:48:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsxNzt7B9zqMyTb8t0gizVg2tgq/0lv/VcXpeH7IMuXSXT7yob/8iXtrGOXGtbXN/DNEog X-Received: by 2002:a50:a701:: with SMTP id h1mr28058221edc.170.1593607712085; Wed, 01 Jul 2020 05:48:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593607712; cv=none; d=google.com; s=arc-20160816; b=Ez5aA9r1Q/j4LpAU8u4hzx8aT3FRyRcv5eAIjZyXD+cFbYrs5dnfYDM7ct2PplAdZC fCHLvFcdUc65RFbRd0d4JTcLjWpGs1mF2XCZJ5ZYUjzTYBiciDKlz/Nj70QQMknNB/Cc le1sGaTH03q+whGdBD7rT0SWv/LwJsv9OoHGtBrES+1A9bROMWse8Q/GVawT1+FWl2bI 78kSOgYSiCwb5beLB4v1tyAbu5agwvKOUtyWFZSMYYDO2Vu1edU6gdU4r65I+MbcECOp +PGro/bF53rObjMvIVmVWW5D/7wOxucyXvMBzvOBpq/qTs4KXeQELQMHD0tUDVMRDYD7 umZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QnLoeRbMIPawtLY45ADcQqoBmyPKvpQnROp2LZuEcEU=; b=0axIlccT7QLrvpLZ48n7CMfZ6hA4PemoTuKZqnFZZI/CbOpN+qFv7I28Aqp9grq79E KwhaZsCz5beXFKfspYgQf5nw0ckmhHuOLvFshA+jIYRqmDHI6g9H4hNm/48jJtR30PtO nPQ/k93IDvxb9SqQF9N9OkevY4Z6isO4RkRkAp2fJ1iDXsbCLY5qDEJlnTjf109Jyr0R SM4QDeUjpjlGm5W1wjO4cb0cTB831zmSyc4YWc1HPX9pe6vuZAdXqBvBYOcjTzZ23wlw 1jqW/lcUyw4kRDWp/SkrI3J3MfNtQXBZ2cJkHapwEHuaLfWksUGTE6LXjWz9Q1dlnGPH RhcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eQGVEx2G; 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 n3si3943833eji.720.2020.07.01.05.48.08; Wed, 01 Jul 2020 05:48:32 -0700 (PDT) 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=eQGVEx2G; 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 S1730703AbgGAMre (ORCPT + 99 others); Wed, 1 Jul 2020 08:47:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730681AbgGAMrZ (ORCPT ); Wed, 1 Jul 2020 08:47:25 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90CDCC03E979 for ; Wed, 1 Jul 2020 05:47:25 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id a6so23670523wrm.4 for ; Wed, 01 Jul 2020 05:47:25 -0700 (PDT) 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=QnLoeRbMIPawtLY45ADcQqoBmyPKvpQnROp2LZuEcEU=; b=eQGVEx2G9CgwJoaRiyytD3bAeayvmzMigNnaekh5vAFlUA245DSA0g6cw2hlGXXkTW TyXV6XLQMx3AoT3HoWGV2eQt8JGbxSJYRGy6qwhA2IgBrXDA/cdo4z/50HewPsSMFm+t JNWVg4jGv5mg5JOQlU238F13Xkb08XZScJTD9CM0tJUIW02s5q2Pa9EyJBJCNoOzGJiq loqHBKaYCEOPdf0wmPEJH9cCl3zy09Dj/BryXCfKdY6ysjjer/LebryJb+oYNAb90VPR 6BCSlv5KNWiLYdSwH7TWohviN3hVdnIN4oyA3MgHfAW1epC7QosHmfSpUQCYffrkdL7P 10LA== 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=QnLoeRbMIPawtLY45ADcQqoBmyPKvpQnROp2LZuEcEU=; b=CaF4BdlgGaCgf/8a0MsKSWKyPtoORtjlIiwxyFN62UkJQr9A1ICgCfBituukM7arvv 0dC8F6RZX71Shz5SdOD/CxEVaoP7XWUREugH5+KlfrTJzK3Z2b5IavlAxQ4VCcDm8y8R zGZm88ga5BjzhBH6przBkBluMEyT6IibgXmBOY76OA3YInyCQcpSE+mmm3QjLwm0rg2f dL/B509MYs+mM3u0tZmkk3Y+DUimIydK51FXU4Uhl2ALk5viGsUkdRLax30F/v3mpkPc F8M3TGamy31w6oyQUHFdCGeY/T8zQa1hIeoYL3M3Qas/WDLj+lDdrnJ2Dmvkn0yLeqtv CSqg== X-Gm-Message-State: AOAM532AyETqxBOre8qfs7X7WnqiRJQhbh3FJyaKtTs0T/nTG/9BnsxL AWUW4wmRdL7EDrXwuQN+DczyzQ== X-Received: by 2002:adf:ecce:: with SMTP id s14mr26837602wro.154.1593607644283; Wed, 01 Jul 2020 05:47:24 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id o29sm7817862wra.5.2020.07.01.05.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 05:47:23 -0700 (PDT) From: Lee Jones To: ulf.hansson@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , Adrian Hunter , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com Subject: [PATCH 15/15] mmc: host: sdhci-iproc: Tell the compiler that ACPI functions may not be used Date: Wed, 1 Jul 2020 13:47:02 +0100 Message-Id: <20200701124702.908713-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200701124702.908713-1-lee.jones@linaro.org> References: <20200701124702.908713-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ... as is the case when !CONFIG_ACPI. Fixes the following W=1 kernel build warning: mmc/host/sdhci-iproc.c:297:36: warning: ‘sdhci_iproc_acpi_ids’ defined but not used [-Wunused-const-variable=] Cc: Adrian Hunter Cc: Ray Jui Cc: Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com Signed-off-by: Lee Jones --- drivers/mmc/host/sdhci-iproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c index 225603148d7de..9c7d130205edd 100644 --- a/drivers/mmc/host/sdhci-iproc.c +++ b/drivers/mmc/host/sdhci-iproc.c @@ -294,7 +294,7 @@ static const struct of_device_id sdhci_iproc_of_match[] = { }; MODULE_DEVICE_TABLE(of, sdhci_iproc_of_match); -static const struct acpi_device_id sdhci_iproc_acpi_ids[] = { +static const struct acpi_device_id __maybe_unused sdhci_iproc_acpi_ids[] = { { .id = "BRCM5871", .driver_data = (kernel_ulong_t)&iproc_cygnus_data }, { .id = "BRCM5872", .driver_data = (kernel_ulong_t)&iproc_data }, { /* sentinel */ } -- 2.25.1