Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3854133pxv; Mon, 19 Jul 2021 10:18:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzC+O6/Mge5qaK/7JFHRiVYecXaFuBQNoyOwDXXa9JQVpv1IfD1UHpheIsLcK11fPV67XST X-Received: by 2002:a92:6a03:: with SMTP id f3mr3869953ilc.43.1626715115435; Mon, 19 Jul 2021 10:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626715115; cv=none; d=google.com; s=arc-20160816; b=m5otWzEkghTnG7pAW8qj82HdJli7Ca2orG23/KZxG403EzJuQ+120rJMCf7Jm+mPLo w4hurTDQOzMhZg/+Pcjcj4CF2dgzOR/hI4py7UbM0+QaJDJ+eFt1pmx5voZk1XXqXz/G 6Tc/F0dhL4RX1IGos+Ehp5qWuLrdv4oyNMHlNdZ8tkigsz9vG+BosUj/z19RbDXzykfk TYJcSCKpC1fqGSOt52KDqct+rRPNi+5SltQ1E4HEC3QSpz1x0dUwXlu29eJ9FIIUsRTq NaSWGHvEXLAA2J/6pp/c7lYO9LAxIZwfQKVcS0vZxQ/+NuILZue7oKv2rQpWgzFV1yZp y8ew== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GdnNGew2pwHOoOtm0QKyZBbh0CCgH3bHNB9jgsQng68=; b=LeY/99gGOVcaakxGNXr1QMqyR5lJoC1SdP+Q7m6IrFyRcDSbPWN8Oauz46X6EXAicC fh08WFz7so10zJNYPDo3IY8M2dX1xKjZARndo+TXJD5Dhsv/4sC/eos5JTFNXJROBTPI IRvGOXzLxWRv0CR7N8e40wQ4aFwIoDt+3OCUziEEqcaUCZB38XZYY73qBzWf+jp4c+Bs vrigvidogWwMFFOVUZs0kPkzYsfyudEaIyRQuI6IR/yj3awTlGeiNVgmaVrmCA47iQiT bhVdmF1xvD909105zQXIzwkDQ5socPyN1RAHGqywvTBqpfyXcsLEknK31ihbSvxGBHAd f8zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="P/oTsHBj"; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t18si8460160ilf.96.2021.07.19.10.18.22; Mon, 19 Jul 2021 10:18:35 -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=@linuxfoundation.org header.s=korg header.b="P/oTsHBj"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354759AbhGSQfW (ORCPT + 99 others); Mon, 19 Jul 2021 12:35:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:38042 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347848AbhGSPWF (ORCPT ); Mon, 19 Jul 2021 11:22:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E0A0961006; Mon, 19 Jul 2021 15:59:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710371; bh=Z6ZydqLjlMDD66kySE5xSLlnlFJ4OA8zpDyXLTtJ/IE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P/oTsHBj36S2H6fIdjctm2eRoWABDayCM40CywRYM1wDZuyf1LRgRdKOdNi5r21US v55aVxrDZZ1DmTzgP5eRDmZn6UIe/pgkIizj6XrLJf3dJZmuGWEBTzZKYbs3DqonkX JKjN4oxHLuuv73hVZ922aWduwdzYaQlYcumgeqdM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Krzysztof Kozlowski , Philipp Zabel , Sasha Levin Subject: [PATCH 5.10 189/243] reset: a10sr: add missing of_match_table reference Date: Mon, 19 Jul 2021 16:53:38 +0200 Message-Id: <20210719144947.021197330@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144940.904087935@linuxfoundation.org> References: <20210719144940.904087935@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Krzysztof Kozlowski [ Upstream commit 466ba3c8ff4fae39e455ff8d080b3d5503302765 ] The driver defined of_device_id table but did not use it with of_match_table. This prevents usual matching via devicetree and causes a W=1 warning: drivers/reset/reset-a10sr.c:111:34: warning: ‘a10sr_reset_of_match’ defined but not used [-Wunused-const-variable=] Reported-by: kernel test robot Fixes: 627006820268 ("reset: Add Altera Arria10 SR Reset Controller") Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20210507112803.20012-1-krzysztof.kozlowski@canonical.com Signed-off-by: Philipp Zabel Signed-off-by: Sasha Levin --- drivers/reset/reset-a10sr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/reset-a10sr.c b/drivers/reset/reset-a10sr.c index 7eacc89382f8..99b3bc8382f3 100644 --- a/drivers/reset/reset-a10sr.c +++ b/drivers/reset/reset-a10sr.c @@ -118,6 +118,7 @@ static struct platform_driver a10sr_reset_driver = { .probe = a10sr_reset_probe, .driver = { .name = "altr_a10sr_reset", + .of_match_table = a10sr_reset_of_match, }, }; module_platform_driver(a10sr_reset_driver); -- 2.30.2