Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1713449ybt; Sat, 20 Jun 2020 19:58:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+fDH8r+i+rGuMCHyM6BM22wZQKOaWqMLz5+xuWRE8VT+BcofE91/r5rMHTXTU04IMU522 X-Received: by 2002:a17:906:f185:: with SMTP id gs5mr9820062ejb.223.1592708329699; Sat, 20 Jun 2020 19:58:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592708329; cv=none; d=google.com; s=arc-20160816; b=Dn6UedYFJGYCC26w2aYWW+AJ8HCAc/IZ6fTsgKuK5mQB+N4xQiXNnzCEcRpDrUnBf8 n/f6BgH0+KD8kk1i4ib+D//MLABeObNicgY86d6/XabEW2qiJ4FmhIzesVpuzG8Y5538 /+4FusDyxzvT5xz/Rp4kclmQe+BHAlXnZI2lXtvJEsT374CNGVi0Jc+GUZwafV96C69A g20wBzriPGMamDf3S9o2fDwasSv35mf/6ScAGWh2ogsmk8lwrfBSN0Btp+uZMcFtYwJg P9CE/PAQ6f5II2q0AZdv+v5ROxjM9PfsemXflmBym+YtiwSEFI9gXNIhYhCCT5cvtCZN NeHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=PkchTXkkhtGKK0B1NQIOglUAJNRMuNVoosibliijFt4=; b=W9SI1Aa9BtwL8hongdJQBxoXiDyUeIthrpmpxcvXNvXi0UFZUzb9EdkpFs8cA4WiWw vTwAlw7MQbjsUI5t1iPN4hWpuXO4WzNToGIKHBXeo8hUwTSzHhfOrxPr3oMscGr7ZCDU z6NLhnpUZCrjNHO3Z4Dg6XNW31ASd3iCRuPlAvhB9gp8GViqAgyCr4XFaVTNzlS5PRDi xi0RJhTdDBD/CU2vngOxmyN/MoxwY2pBD8v2hokcR74fb2XSpq0gyBUOvZO+CnWON8km tuLZ4FtAVZXDA2Nbs+tKNzgSWtz7j6FyK3bJ89+WdkqnL+yNCVJADnwcuPu1ojSDztbD CGxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MkmXiACr; 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 bc15si7017045edb.281.2020.06.20.19.57.50; Sat, 20 Jun 2020 19:58:49 -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=@kernel.org header.s=default header.b=MkmXiACr; 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 S1729151AbgFUCyB (ORCPT + 99 others); Sat, 20 Jun 2020 22:54:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:47594 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728992AbgFUCyB (ORCPT ); Sat, 20 Jun 2020 22:54:01 -0400 Received: from Mani-XPS-13-9360.localdomain (unknown [157.50.185.55]) (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 0BC12247AF; Sun, 21 Jun 2020 02:53:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592708041; bh=8kz0YS2YpXAP78yJ5e4pDrntY+2vR5l3xnCBVIzu5io=; h=From:To:Cc:Subject:Date:From; b=MkmXiACrOD/CQ+R0OcgDaSmrMSBNtwmVcOliTbhfTRdv+8ukxaJxc5XKrB1BU1Uww WGUFIcBENadA6UIj0NCww9g6Igu6mWztI8mqCnpp54vVrt6bvmSkTYgLAr4h2LMygJ iisi/tz0tzEA7birQe0bw/wIqRpOWPmYwxTxEdhE= From: Manivannan Sadhasivam To: ulf.hansson@linaro.org Cc: afaerber@suse.de, linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH] mmc: owl-mmc: Get rid of of_match_ptr() macro Date: Sun, 21 Jun 2020 08:23:30 +0530 Message-Id: <20200621025330.10561-1-mani@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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