]> git.ipfire.org Git - thirdparty/linux.git/commit
net: dsa: mv88e6xxx: move mv88e6xxx_hwtstamp_work() prototype
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 16 Sep 2025 20:35:08 +0000 (21:35 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 18 Sep 2025 01:21:12 +0000 (18:21 -0700)
commite866e5118bb678de8d159cd865678359e2493894
treedaab5644819622641b1c0f013f31eef56e0cbce2
parenta295b33b0faf43cd0d076f7e86ea90a777f6796e
net: dsa: mv88e6xxx: move mv88e6xxx_hwtstamp_work() prototype

Since mv88e6xxx_hwtstamp_work() is defined in hwtstamp.c, its prototype
should be in hwtstamp.h, so move it there. Remove it's redundant stub
definition, as both hwtstamp.c (the function provider) and ptp.c (the
consumer) are both dependent on the same config symbol.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6xxx/hwtstamp.h
drivers/net/dsa/mv88e6xxx/ptp.h