]> git.baikalelectronics.ru Git - kernel.git/commit
phy: ti: Fix compilation failures without REGMAP
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 7 Jan 2019 17:54:14 +0000 (17:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jan 2019 19:21:37 +0000 (14:21 -0500)
commit6c6f45644c06c2c0fe263102d4a3d2f54f1032c0
tree36338de5c0dc609d3cee3517561fcea7a891458f
parentb0e6998a411d4f8641f2e461ae06ccda4b2ad08b
phy: ti: Fix compilation failures without REGMAP

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@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/phy/ti/Kconfig