]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: felix: move the PTP clock structure to felix_vsc9959.c
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 18 Sep 2020 10:57:52 +0000 (13:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 00:52:51 +0000 (17:52 -0700)
commitd56c75caba7334976499d38ca1d02227291821d8
treef79f6ce3c829d1c4e59729be2d65b36def916c84
parent4fa32dab6a3ae3fb4bb1a2860eec83f8fecf63c4
net: dsa: felix: move the PTP clock structure to felix_vsc9959.c

Not only does Sevile not have a PTP clock, but with separate modules,
this structure cannot even live in felix.c, due to the .owner =
THIS_MODULE assignment causing this link time error:

drivers/net/dsa/ocelot/felix.o:(.data+0x0): undefined reference to `__this_module'

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix.c
drivers/net/dsa/ocelot/felix.h
drivers/net/dsa/ocelot/felix_vsc9959.c