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

2019-01-07 Thread David Miller
From: Jason Gunthorpe Date: Mon, 7 Jan 2019 17:54:14 + > 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 k

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

2019-01-07 Thread Jason Gunthorpe
On Mon, Jan 07, 2019 at 07:13:00PM +0100, Andrew Lunn wrote: > On Mon, Jan 07, 2019 at 05:48:00PM +, Jason Gunthorpe wrote: > > 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’ >

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

2019-01-07 Thread Andrew Lunn
On Mon, Jan 07, 2019 at 05:48:00PM +, Jason Gunthorpe wrote: > 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

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

2019-01-07 Thread Jason Gunthorpe
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 --- drivers/phy/ti/Kconfig | 1 +

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

2019-01-07 Thread Jason Gunthorpe
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 --- drivers/phy/ti/Kconfig | 1 +