Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp137148ybe; Tue, 3 Sep 2019 19:21:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9DWYZzgvKL9900izGigW589xT9/A1OIQ60GMaqUWuIyQclwwgEICbtZSYmgHT27GirkbM X-Received: by 2002:a17:90a:ba06:: with SMTP id s6mr2418825pjr.69.1567563713742; Tue, 03 Sep 2019 19:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567563713; cv=none; d=google.com; s=arc-20160816; b=r1znVPLnm2P5po0dShIro/5i+ntf708Mn8sYIimvUWUN/FDEgBqUh+lVB1f/fei1C1 ztjK9lPwYfseu+lH1JauSLZDtifnApLx05syLKcZD+CY4+U3tKP3hPxJyMIjLNIoi079 xtbOgp0x0zleQ5Zd8DmCF6jMkd2TDPO9A1K2mhDQJfKcVzuEoRJjrl0NqU2w6u60TSq2 P01j9DV1voRYTwfOraZC+Gi7Y3SBgU5ksmmrxO4abGpVQo6FxiPE25e1kUrWjAXy7Qyo 7N9tVL/BsdJm5BeYsKTCjjWzITCH93kE4/aOfRzAztaVWrhERACjtaYevZCi3697a5K0 sung== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=0OPawNPcXoaz6itJ9OLuJZ+eo+4zgp53fsik4iX6Y5A=; b=Rr6/yCBNOss3t9sYbmySpuLRCQ6/HzkY0yyqMrsZdBtsb0TqryHf+rqiPrU5Jly1Sw mxs7bcY4kxPNeMLKZYt+KdPHOio79+nFzSQEJ1kkJwvd7gRHTvgj10FVjTRrdrd82FHG eenj9HFu18NMLRs94VPKR/SjEbOVPLrhifL2YeAkPi6dNzv5P3EbQHiUN+718hu0VkaT P4wVbsWuf+9XVCkma/oLIQi9StzNgaHsd6DDM3ytZV6C/1xC0DZHLJx8BIISzWZ3lta9 n5i/XHiL0u0s/zIQKXxVs0gyRP0H0/TGmhwTywHRkC0KH8qGEHM6tGO4itHjjaLrEBe2 Cm9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=bUpB5qhw; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=aHkwBUfd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15si15617420pgy.517.2019.09.03.19.21.38; Tue, 03 Sep 2019 19:21:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=bUpB5qhw; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=aHkwBUfd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727787AbfIDCUt (ORCPT + 99 others); Tue, 3 Sep 2019 22:20:49 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:47825 "EHLO wout4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727065AbfIDCUs (ORCPT ); Tue, 3 Sep 2019 22:20:48 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id DD8344FF; Tue, 3 Sep 2019 22:20:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 03 Sep 2019 22:20:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=0OPawNPcXoaz6itJ9OLuJZ+eo+ 4zgp53fsik4iX6Y5A=; b=bUpB5qhwONHVcB/LkxyhBPPs4qTdJBZXSmbrFxSTcJ 92TXrH1wYZdpRiyTtVwvkeN2/a2T6uKm6Ze5w/QS9G+sZqri/5lWjOnhzTwe2TCD TNE72RGJAKufDF0PB/X94IwTcae53qa+fM++DXwP+0bCzRbQw2aoSQ1GTO5EeRQb IeLdKmKacwvuNr/bVUaAUrPcyNAxk6FWd54Znxrm+mZZbJxJWPz4TTKlI0EnH8Fl txsXwYJehSrzOWHAsTK6dR6DdO8YXzO0NvCislhISfpF6GTlmBVrKmVZ0o6HvZ+T oV+LLOF7qWZ0FyowDQEJI/xc0wNJdG6Z9m7Tqz8JN4/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=0OPawNPcXoaz6itJ9 OLuJZ+eo+4zgp53fsik4iX6Y5A=; b=aHkwBUfdVOz919lRbW3s0C/fAMdKFV0x+ ZYP7AEM7cT3YuXCYRrLos9Y38ihlmfhzk4PlRWDLbXS0++rzTR+/K9+pUJM5koTy Kc2/CmKDDjap69Tnr+QbEJcA+cJne37Gzv/p0VLnrw7j71Z81wyFNoAsbISsfwwM 92cNKXz+y1QSM6yS5e5/zZBllzINa8gp8kKPiIBIKHbKfX9SzVe+rjyUpEB8xCAO Gu/ciU3unWSKrQeBmoCiZWXUUXCtQJdMRxuOTsTrJ1mfVeT/PXQVudFjevT3QYJ8 +CCeRrmGzKaMkg361tnyHnUc2xEphCHjdUtd3D9K/CSuuWgW0iq8g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudejgedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomheptehnughrvgifucflvghffhgvrhihuceorghnughrvgifsegrjhdr ihgurdgruheqnecuffhomhgrihhnpehoiihlrggsshdrohhrghenucfkphepvddtfedrhe ejrddvudehrddujeeknecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvfiesrghj rdhiugdrrghunecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost.localdomain (203-57-215-178.dyn.iinet.net.au [203.57.215.178]) by mail.messagingengine.com (Postfix) with ESMTPA id 4E4F2D6005B; Tue, 3 Sep 2019 22:20:42 -0400 (EDT) From: Andrew Jeffery To: linux-mmc@vger.kernel.org Cc: Andrew Jeffery , adrian.hunter@intel.com, ulf.hansson@linaro.org, joel@jms.id.au, openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, kbuild test robot Subject: [PATCH v3] mmc: sdhci-of-aspeed: Depend on CONFIG_OF_ADDRESS Date: Wed, 4 Sep 2019 11:51:20 +0930 Message-Id: <20190904022120.4174-1-andrew@aj.id.au> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Resolves the following build error reported by the 0-day bot: ERROR: "of_platform_device_create" [drivers/mmc/host/sdhci-of-aspeed.ko] undefined! SPARC does not set CONFIG_OF_ADDRESS so the symbol is missing. Depend on CONFIG_OF_ADDRESS to ensure the driver is only built for supported configurations. Fixes: 2d28dbe042f4 ("mmc: sdhci-of-aspeed: Add support for the ASPEED SD controller") Reported-by: kbuild test robot Signed-off-by: Andrew Jeffery --- v2 was a series of 4 patches, three of which were applied leaving this build fix to be reworked. The v2 series can be found here: https://patchwork.ozlabs.org/cover/1156457/ drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 0f8a230de2f3..3a52f5703286 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -157,7 +157,7 @@ config MMC_SDHCI_OF_ARASAN config MMC_SDHCI_OF_ASPEED tristate "SDHCI OF support for the ASPEED SDHCI controller" depends on MMC_SDHCI_PLTFM - depends on OF + depends on OF && OF_ADDRESS help This selects the ASPEED Secure Digital Host Controller Interface. -- 2.20.1