diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-01-12 15:04:43 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-01-12 23:59:52 +0300 |
commit | c74f16b6034401b17bb1cf549871186a8ece5f92 (patch) | |
tree | 0b4a99b8d8dd985c61fa6291a2dc8aa8a2d2a2f5 /arch/arm/mach-ixp4xx/include | |
parent | 504c28c853ec5c626900b914b5833daf0581a344 (diff) | |
download | linux-c74f16b6034401b17bb1cf549871186a8ece5f92.tar.xz |
wan: ixp4xx_hss: prepare compile testing
The ixp4xx_hss driver needs the platform data definition and the
system clock rate to be compiled. Move both into a new platform_data
header file.
This is a prerequisite for compile testing, but turning on compile
testing requires further patches to isolate the SoC headers.
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>
Diffstat (limited to 'arch/arm/mach-ixp4xx/include')
-rw-r--r-- | arch/arm/mach-ixp4xx/include/mach/platform.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-ixp4xx/include/mach/platform.h b/arch/arm/mach-ixp4xx/include/mach/platform.h index 342acbe20f7c..04ef8025accc 100644 --- a/arch/arm/mach-ixp4xx/include/mach/platform.h +++ b/arch/arm/mach-ixp4xx/include/mach/platform.h @@ -104,15 +104,6 @@ struct eth_plat_info { u8 hwaddr[6]; }; -/* Information about built-in HSS (synchronous serial) interfaces */ -struct hss_plat_info { - int (*set_clock)(int port, unsigned int clock_type); - int (*open)(int port, void *pdev, - void (*set_carrier_cb)(void *pdev, int carrier)); - void (*close)(int port, void *pdev); - u8 txreadyq; -}; - /* * Frequency of clock used for primary clocksource */ |