ptp: ixp46x: move adjacent to ethernet driver
authorArnd Bergmann <arnd@arndb.de>
Sun, 12 Jan 2020 12:04:44 +0000 (13:04 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Jan 2020 20:59:52 +0000 (12:59 -0800)
commit2785543fbf0498eb749adee3d129ba8ac139c729
tree952a7280984cb16420ede82f7d055fa7ce192a51
parentc74f16b6034401b17bb1cf549871186a8ece5f92
ptp: ixp46x: move adjacent to ethernet driver

The ixp46x ptp driver has a somewhat unusual setup, where the ptp
driver and the ethernet driver are in different directories but
access the same registers that are defined a platform specific
header file.

Moving everything into drivers/net/ makes it look more like most
other ptp drivers and allows compile-testing this driver on
other targets.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/xscale/Kconfig
drivers/net/ethernet/xscale/Makefile
drivers/net/ethernet/xscale/ixp4xx_eth.c
drivers/net/ethernet/xscale/ptp_ixp46x.c [moved from drivers/ptp/ptp_ixp46x.c with 99% similarity]
drivers/net/ethernet/xscale/ptp_ixp46x.h [moved from arch/arm/mach-ixp4xx/include/mach/ixp46x_ts.h with 100% similarity]
drivers/ptp/Kconfig
drivers/ptp/Makefile