mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 00:33:58 -04:00
Remove the hwptp abstraction and associated callbacks from
the struct xgbe_hw_if {}.
The callback structure was only ever assigned a single function, without
null checks. This cleanup inlines the logic and moves all the hwtstamp
realted code a separate file, improving readability and maintainance.
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Link: https://patch.msgid.link/20250718185628.4038779-2-Raju.Rangoju@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
13 lines
395 B
Makefile
13 lines
395 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_AMD_XGBE) += amd-xgbe.o
|
|
|
|
amd-xgbe-objs := xgbe-main.o xgbe-drv.o xgbe-dev.o \
|
|
xgbe-desc.o xgbe-ethtool.o xgbe-mdio.o \
|
|
xgbe-hwtstamp.o xgbe-ptp.o \
|
|
xgbe-i2c.o xgbe-phy-v1.o xgbe-phy-v2.o \
|
|
xgbe-platform.o
|
|
|
|
amd-xgbe-$(CONFIG_PCI) += xgbe-pci.o
|
|
amd-xgbe-$(CONFIG_AMD_XGBE_DCB) += xgbe-dcb.o
|
|
amd-xgbe-$(CONFIG_DEBUG_FS) += xgbe-debugfs.o
|