From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE038C433DF for ; Mon, 6 Jul 2020 14:49:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A231620724 for ; Mon, 6 Jul 2020 14:49:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oIZFcuyh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729438AbgGFOtk (ORCPT ); Mon, 6 Jul 2020 10:49:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729424AbgGFOti (ORCPT ); Mon, 6 Jul 2020 10:49:38 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7E8CC061755 for ; Mon, 6 Jul 2020 07:49:37 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id x13so15989773vsx.13 for ; Mon, 06 Jul 2020 07:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ThoUX3D4D7XYDMfUPpe8rFPmFr4x1le4oAww+2aOLQU=; b=oIZFcuyhuJq7rKyk7cftCjXUqUaBvDJaEJUs98RkIVgptfVcm/lspLDAISpPcK2olh aDnh2aIPV8ltxg6nQ7tXVXzSycX9oyYp7cWpwTSxfkSMwtDEfAuK09HHF3iiscYRSX+l AsPwcMjtUglgdCpgrR2J98ajL9A6gmsKMdAgCwqry8uIY7GDZy/f8/WjG+sk4YfdTwKc FmPd2ND5N6QdpqI36kM7ddceAEgNI6aNj7vKrvsMA4XKcTE1tnh4IZwCZiD/KoD1N7Lo 6urgQ3ziTlhMBzG5FlPDJFLxG5UM9Bc7d0ZknkfMNnYnIx4fCHUv4V6a24NHxOK7n7uv l7hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ThoUX3D4D7XYDMfUPpe8rFPmFr4x1le4oAww+2aOLQU=; b=MxdD0ngFyCz8s/ZkoXlXpuvff75h1eiPkcAhKK6+Z8fduQ+wUyZiC6OaUC8uB6t+HE 874+IdQoBco2AND0aD9MI1p6jLreSZ6O9FBQnv3lJhwgLKYvi6xN1qAmbM0f8NOdyqyJ xjQSJgtpbTSgB8WV95c08FU0cBBfpeIRDkelbsluz2Kkr1NVcwIg+eqGZ908XP29iydE tkLxDSnJCF4VBv0xiqydLmqbpBpmM22FxcEMk2IcVcAUio8jLEbL8Sk7sZY9XORbiL/s kLOz7YvSqqDN3ik29wOMmA7uec1rR8vcsCqhtrt/YOgtJeW1QRIMuxmp/3zpVvb7xFbi Id3Q== X-Gm-Message-State: AOAM531STBSXRKxhQK6Xo2WlKRC5H5fY8LowXrD2HNhyGbjJBllbxyhg JpluirrjZvowp99Cz7K/+Dnyq7mleU1Z092yIjAhjg== X-Google-Smtp-Source: ABdhPJzIeo+wEv+tl+o7ithHrJO/3zOmz+2jDe9x99k5Ft/dAWm8KTIGDp1o3RWzP9h9tcgJ8W/bjkuSbtljJB16s6c= X-Received: by 2002:a67:f888:: with SMTP id h8mr15842779vso.165.1594046977165; Mon, 06 Jul 2020 07:49:37 -0700 (PDT) MIME-Version: 1.0 References: <20200621025330.10561-1-mani@kernel.org> In-Reply-To: <20200621025330.10561-1-mani@kernel.org> From: Ulf Hansson Date: Mon, 6 Jul 2020 16:49:00 +0200 Message-ID: Subject: Re: [PATCH] mmc: owl-mmc: Get rid of of_match_ptr() macro To: Manivannan Sadhasivam Cc: =?UTF-8?Q?Andreas_F=C3=A4rber?= , "linux-mmc@vger.kernel.org" , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 21 Jun 2020 at 04:54, Manivannan Sadhasivam wrote: > > Remove the 'of_match_ptr()' macro to fix the warning when CONFIG_OF is > not selected. > > drivers/mmc/host/owl-mmc.c:677:34: warning: unused variable 'owl_mmc_of_match' > [-Wunused-const-variable] > > Reported-by: kernel test robot > Signed-off-by: Manivannan Sadhasivam Applied for fixes, thanks! Kind regards Uffe > --- > drivers/mmc/host/owl-mmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/owl-mmc.c b/drivers/mmc/host/owl-mmc.c > index 5e20c099fe03..df43f42855e2 100644 > --- a/drivers/mmc/host/owl-mmc.c > +++ b/drivers/mmc/host/owl-mmc.c > @@ -689,7 +689,7 @@ MODULE_DEVICE_TABLE(of, owl_mmc_of_match); > static struct platform_driver owl_mmc_driver = { > .driver = { > .name = "owl_mmc", > - .of_match_table = of_match_ptr(owl_mmc_of_match), > + .of_match_table = owl_mmc_of_match, > }, > .probe = owl_mmc_probe, > .remove = owl_mmc_remove, > -- > 2.17.1 >