Re: [PATCH] phy: ti: j721e-wiz: Fix build error without CONFIG_OF_ADDRESS

From: Greg Kroah-Hartman
Date: Fri Jan 17 2020 - 18:09:52 EST


On Sat, Jan 18, 2020 at 12:01:02AM +0100, Greg Kroah-Hartman wrote:
> On Sat, Jan 18, 2020 at 02:53:10AM +0530, Kishon Vijay Abraham I wrote:
> > From: Hongbo Yao <yaohongbo@xxxxxxxxxx>
> >
> > If CONFIG_OF_ADDRESS is not set and COMPILE_TEST=y, the following
> > error is seen while building phy-j721e-wiz.c
> >
> > drivers/phy/ti/phy-j721e-wiz.o: In function `wiz_remove':
> > phy-j721e-wiz.c:(.text+0x1a): undefined reference to
> > `of_platform_device_destroy'
> >
> > Fix the config dependency for PHY_J721E_WIZ here.
> >
> > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> > Fixes: 091876cc355d ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC")
> > Signed-off-by: Hongbo Yao <yaohongbo@xxxxxxxxxx>
> > Signed-off-by: Kishon Vijay Abraham I <kishon@xxxxxx>
> > ---
> > drivers/phy/ti/Kconfig | 1 +
> > 1 file changed, 1 insertion(+)
>
> Want me to just take this directly in my tree so the build error goes
> away?

Nevermind, I did :)