linux-stable/drivers/net/ethernet/xscale
Arnd Bergmann 161dcc0242 net: ixp46x: fix ptp build failure
The rework of the ixp46x cpu detection left the network driver in
a half broken state:

drivers/net/ethernet/xscale/ptp_ixp46x.c: In function 'ptp_ixp_init':
drivers/net/ethernet/xscale/ptp_ixp46x.c:290:51: error: 'IXP4XX_TIMESYNC_BASE_VIRT' undeclared (first use in this function)
  290 |                 (struct ixp46x_ts_regs __iomem *) IXP4XX_TIMESYNC_BASE_VIRT;
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/xscale/ptp_ixp46x.c:290:51: note: each undeclared identifier is reported only once for each function it appears in
drivers/net/ethernet/xscale/ptp_ixp46x.c: At top level:
drivers/net/ethernet/xscale/ptp_ixp46x.c:323:1: error: data definition has no type or storage class [-Werror]
  323 | module_init(ptp_ixp_init);

I have patches to complete the transition for a future release, but
for the moment, add the missing include statements to get it to build
again.

Fixes: 09aa9aabdc ("soc: ixp4xx: move cpu detection to linux/soc/ixp4xx/cpu.h")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-21 09:10:24 -07:00
..
ixp4xx_eth.c ARM: SoC changes for 5.14 2021-07-10 09:22:44 -07:00
ixp46x_ts.h ixp4xx_eth: move platform_data definition 2020-01-12 12:59:53 -08:00
Kconfig net: ethernet: ixp4xx: Support device tree probing 2021-04-25 18:27:13 -07:00
Makefile ptp: ixp46x: move adjacent to ethernet driver 2020-01-12 12:59:52 -08:00
ptp_ixp46x.c net: ixp46x: fix ptp build failure 2021-07-21 09:10:24 -07:00