summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ixp4xx/include/mach/platform.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-01-12 13:04:43 +0100
committerJakub Kicinski <kuba@kernel.org>2020-01-12 12:59:52 -0800
commitc74f16b6034401b17bb1cf549871186a8ece5f92 (patch)
tree0b4a99b8d8dd985c61fa6291a2dc8aa8a2d2a2f5 /arch/arm/mach-ixp4xx/include/mach/platform.h
parent504c28c853ec5c626900b914b5833daf0581a344 (diff)
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/mach/platform.h')
-rw-r--r--arch/arm/mach-ixp4xx/include/mach/platform.h9
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
*/