Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp221959ybt; Mon, 6 Jul 2020 07:50:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygykLNbvfAqiJaG/cEZROdlXY+mz5AS7zqt8Sn8D4h5+yFl5n8VwsoUtPjn0BTUuR6o5H2 X-Received: by 2002:a17:906:7694:: with SMTP id o20mr42983428ejm.289.1594047029250; Mon, 06 Jul 2020 07:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594047029; cv=none; d=google.com; s=arc-20160816; b=Ygj5eEYbt2TLH6AhghP/1vL9EU3Bmh3an6xSaRJIcHU65ID1C0KV6dxA8oPd2ha8Yb EoFzYbeS1biACyAzeEtJ6I+mFTUyqTX3nfpO5q3pZ3yOUdZ/n14YG1GaFrnrFY5HWf3p 34ws1Ta1/UUybUN/o0vfjFF19aTSZZAbBGDoCpQxn0Ap7rN9Mp0ioLSBIdOgbSuxi/w0 iXDYBoL4rdvXrbbSLAzR1SHsqXKYnttRUHKdC0pQLlUUBAqfIviI6AfwkZvQAnXObRIL zRH4bIETdGTM5HbxqPsf0TftWIdwelYE7vtz+BQXChtSD32mNteMgf1KOazj2p/K3VU3 lj6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ThoUX3D4D7XYDMfUPpe8rFPmFr4x1le4oAww+2aOLQU=; b=eNfD3W4pvYhoWVpRrndh6RGyXesehUeun9NuIkusa8sIpSmzV4WqjU1RluSmesQQld jaz1jp0YaqwsYITYsm94Vi8K7Zk20xj6meLu6tMRpUU1iwtfz0cTKaR+bdCPmbcpZ18K 3/ALLZ5kJk9KJbi20tyvgm4GLPe7Hi++yLy68502sn+8zDtD322rfqaH+cuOT1HORxx9 AgMDJ5tBQr2OoF7olJRbBhcs5k65QfaF6GS2vlChpmXxTVzGC5Dz6AV3ZWMcV4+z2AzS /mYeTTM6abbXS2pjSbZdmzc9hwuIrqPtcq45FpCshwBqsn3xRZZkq38PjAD2kSMVBAva sYSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oIZFcuyh; 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 o15si12768948eja.702.2020.07.06.07.50.06; Mon, 06 Jul 2020 07:50:29 -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=oIZFcuyh; 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 S1729429AbgGFOtj (ORCPT + 99 others); Mon, 6 Jul 2020 10:49:39 -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-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 >