aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy/ti
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-01-07 17:54:14 +0000
committerDavid S. Miller <davem@davemloft.net>2019-01-07 14:21:37 -0500
commit7acf8b36a2ac6eb4fdc53c4d862570089e56c69e (patch)
tree36338de5c0dc609d3cee3517561fcea7a891458f /drivers/phy/ti
parentnet: bridge: fix a bug on using a neighbour cache entry without checking its state (diff)
downloadlinux-dev-7acf8b36a2ac6eb4fdc53c4d862570089e56c69e.tar.xz
linux-dev-7acf8b36a2ac6eb4fdc53c4d862570089e56c69e.zip
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>
Diffstat (limited to 'drivers/phy/ti')
-rw-r--r--drivers/phy/ti/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/ti/Kconfig b/drivers/phy/ti/Kconfig
index f137e0107764..c4709ed7fb0e 100644
--- a/drivers/phy/ti/Kconfig
+++ b/drivers/phy/ti/Kconfig
@@ -82,6 +82,7 @@ config PHY_TI_GMII_SEL
default y if TI_CPSW=y
depends on TI_CPSW || COMPILE_TEST
select GENERIC_PHY
+ select REGMAP
default m
help
This driver supports configuring of the TI CPSW Port mode depending on