summaryrefslogtreecommitdiff
path: root/arch/arm/mach-u300/spi.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-04-22 13:29:30 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-06-17 15:54:30 +0400
commit75a7f3f18e0deee2023351789cc3c393f07220c7 (patch)
treeb74a90f572f10c6c54b90f9eddb2c1419c5d3ff2 /arch/arm/mach-u300/spi.h
parentd134636f370070f0aa43bb4b145ed60c440eff17 (diff)
downloadlinux-75a7f3f18e0deee2023351789cc3c393f07220c7.tar.xz
ARM: u300: delete all static board data
We have now transferred all the U300 peripherals to the device tree, so we just select USE_OF, and delete all static board data, then require that this platform shall be booted using the device tree and nothing else. This gets rid of the MMCI (PL180), PL022, and serial PL011 platform data entries and more. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-u300/spi.h')
-rw-r--r--arch/arm/mach-u300/spi.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/arm/mach-u300/spi.h b/arch/arm/mach-u300/spi.h
deleted file mode 100644
index bd3d867e240f..000000000000
--- a/arch/arm/mach-u300/spi.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * arch/arm/mach-u300/spi.h
- *
- * Copyright (C) 2009 ST-Ericsson AB
- * License terms: GNU General Public License (GPL) version 2
- *
- * Author: Linus Walleij <linus.walleij@stericsson.com>
- */
-#ifndef SPI_H
-#define SPI_H
-#include <linux/amba/bus.h>
-
-#ifdef CONFIG_SPI_PL022
-void __init u300_spi_init(struct amba_device *adev);
-void __init u300_spi_register_board_devices(void);
-#else
-/* Compile out SPI support if PL022 is not selected */
-static inline void __init u300_spi_init(struct amba_device *adev)
-{
-}
-static inline void __init u300_spi_register_board_devices(void)
-{
-}
-#endif
-
-#endif