Re: [PATCH] phy: ti: Fix compilation failures without REGMAP

From: David Miller
Date: Mon Jan 07 2019 - 14:23:37 EST


From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
Date: Mon, 7 Jan 2019 17:54:14 +0000

> This driver requires regmap or the compile fails:
>
> drivers/phy/ti/phy-gmii-sel.c:43:27: error: array type has incomplete element type ʽstruct reg_fieldʼ
> const struct reg_field (*regfields)[PHY_GMII_SEL_LAST];
>
> Add it to kconfig.
>
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

Applied.