[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201130153923.GV8403@vkoul-mobl>
Date: Mon, 30 Nov 2020 21:09:23 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Tiezhu Yang <yangtiezhu@...ngson.cn>
Cc: Kishon Vijay Abraham I <kishon@...com>,
Chunfeng Yun <chunfeng.yun@...iatek.com>,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
Heiko Stuebner <heiko@...ech.de>,
Randy Dunlap <rdunlap@...radead.org>,
Xuefeng Li <lixuefeng@...ngson.cn>
Subject: Re: [PATCH v2] phy: mediatek: Make PHY_MTK_{XSPHY,TPHY} depend on
HAS_IOMEM and OF_ADDRESS to fix build errors
On 25-11-20, 15:37, Tiezhu Yang wrote:
> devm_ioremap_resource() will be not built in lib/devres.c if
> CONFIG_HAS_IOMEM is not set, of_address_to_resource() will be
> not built in drivers/of/address.c if CONFIG_OF_ADDRESS is not
> set, and then there exists two build errors about undefined
> reference to "devm_ioremap_resource" and "of_address_to_resource"
> in phy-mtk-xsphy.c under COMPILE_TEST and CONFIG_PHY_MTK_XSPHY,
> make PHY_MTK_XSPHY depend on HAS_IOMEM and OF_ADDRESS to fix it.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists