Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1392488pxb; Fri, 20 Nov 2020 08:24:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCzf2vSQSrBG1gtdaZjFBlPeTqHJ7oWZiEyh9yjCrLX8KKPGyAPZuTXalE00g8T1eYg2t+ X-Received: by 2002:a05:6402:21c7:: with SMTP id bi7mr36906196edb.54.1605889467963; Fri, 20 Nov 2020 08:24:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605889467; cv=none; d=google.com; s=arc-20160816; b=xB5j88eGrumWUk1gsfkHXI6EV6o8qyVjjHgAg94a4zbfNAwGclPnRYrLWUH49TZ2bR qM7qiSR1jmFf+/N3qKcx5WgTH5AC4tObdfUaHq3E3eSD6RarGBbxxwMy+Nr/36tVulam QBcgCbtKrVxp6cwE34IsOhldkADn0uQDZvacbo33SgXBEug8wtkxCUg+0n1bs2nJYx6U 0JqqfynGPOjdofvri4bk4mWBtxdn2xHvE1SRkF6MirsrkaWocVzl/uVZCCjyPr9bqQQ+ 6o33WBXiStK4LG4EVOw+nI0XoqcOh+S5bz/fZ5dUcpguvO5PpZ9EP1bD8rWS+dhl6pAH Vfgg== 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=I4qXgIuASPI8B2xfFpzQ4qLV00+0tm7MWZFRX1zjlnA=; b=UtznryrBCjFOdTaDw1sGJQNU7fUpQAPPMD6HM8y1Wy1H9TI1ITvWqgubZnoLJ80oE4 gWeiAiZsY6wRQFEI5TSzf6z3eQkA4psQosf90fh/oBB/oqHUjVjS7bLwdTST9OldyIZe hhqCJC1C2/RqiLPQ8LsBM94PfmZOK5wRs/239MYVWCSO4ygWaZ1LBggYES8JyvjFY26n lY77ZUEoDYvuYwrg6XnPq7EkhrJVI0uyya1/RevfIFDnGRa8Z1X0EfxPl0t/hMkZxUf9 Viqoi1Dl0AIv9bmPBWkpfeFhzScLR4PtSMe7gPeC0L8BIw3mWRyOHrXcb4pSP0FRvBeA ypAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zKkQnsmw; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f9si2073595edy.248.2020.11.20.08.24.04; Fri, 20 Nov 2020 08:24:27 -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=@kernel.org header.s=default header.b=zKkQnsmw; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729888AbgKTQWY (ORCPT + 99 others); Fri, 20 Nov 2020 11:22:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:40306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729111AbgKTQWT (ORCPT ); Fri, 20 Nov 2020 11:22:19 -0500 Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch [84.226.167.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F344B22269; Fri, 20 Nov 2020 16:22:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605889339; bh=kDWYTEzSyPd1hDIkbd2Rs+DZbj+M61LYe2kWDDaSCCY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zKkQnsmwMXzf9Scyb5sPJAwuv7i6LiosuO6EMqlF1Ddfi2QfzfeSmiduYfSxAe72n 72Nme2pRfHAHtiPEb6FcOQsOYdMANOnWYyeAbUY3yteOz5nsbOUBErnm2RrkLnUBoh 0/kyr9mbk9BVmFxiH42QeSGOhOR8DZYo/lvaeoSE= From: Krzysztof Kozlowski To: linux-kernel@vger.kernel.org, Lee Jones Cc: Krzysztof Kozlowski , Tony Lindgren , linux-omap@vger.kernel.org Subject: [PATCH 16/16] mfd: twl6030: mark of_device_id table as maybe unused Date: Fri, 20 Nov 2020 17:21:33 +0100 Message-Id: <20201120162133.472938-16-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201120162133.472938-1-krzk@kernel.org> References: <20201120162133.472938-1-krzk@kernel.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 The driver references of_device_id table via of_match_device() so it will be unused for !CONFIG_OF builds: drivers/mfd/twl6030-irq.c:359:34: warning: ‘twl6030_of_match’ defined but not used [-Wunused-const-variable=] Signed-off-by: Krzysztof Kozlowski --- drivers/mfd/twl6030-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/twl6030-irq.c b/drivers/mfd/twl6030-irq.c index aff2dfbf3bf9..97af6c2a6007 100644 --- a/drivers/mfd/twl6030-irq.c +++ b/drivers/mfd/twl6030-irq.c @@ -356,7 +356,7 @@ static const struct irq_domain_ops twl6030_irq_domain_ops = { .xlate = irq_domain_xlate_onetwocell, }; -static const struct of_device_id twl6030_of_match[] = { +static const struct of_device_id twl6030_of_match[] __maybe_unused = { {.compatible = "ti,twl6030", &twl6030_interrupt_mapping}, {.compatible = "ti,twl6032", &twl6032_interrupt_mapping}, { }, -- 2.25.1