aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-ath79
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2019-01-16 19:55:46 +0100
committerMark Brown <broonie@kernel.org>2019-01-17 12:34:47 +0000
commitb172fd0c898022c47161a99cb40be5304b0d3fd0 (patch)
tree5f525f07915c2f10955cd5286b125cff6821f952 /arch/mips/include/asm/mach-ath79
parentspi: ath79: Simplify ath79_spi_chipselect() (diff)
downloadlinux-dev-b172fd0c898022c47161a99cb40be5304b0d3fd0.tar.xz
linux-dev-b172fd0c898022c47161a99cb40be5304b0d3fd0.zip
spi: ath79: Enable support for compile test
To allow building this driver in compile test we need to remove all dependency on headers from arch/mips/include. To allow this we explicitly define all the registers locally instead of using ar71xx_regs.h and we move the platform data struct definition to include/linux/platform_data/spi-ath79.h. Signed-off-by: Alban Bedel <albeu@free.fr> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/mips/include/asm/mach-ath79')
-rw-r--r--arch/mips/include/asm/mach-ath79/ath79_spi_platform.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/mips/include/asm/mach-ath79/ath79_spi_platform.h b/arch/mips/include/asm/mach-ath79/ath79_spi_platform.h
deleted file mode 100644
index aa71216edf99..000000000000
--- a/arch/mips/include/asm/mach-ath79/ath79_spi_platform.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Platform data definition for Atheros AR71XX/AR724X/AR913X SPI controller
- *
- * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published
- * by the Free Software Foundation.
- */
-
-#ifndef _ATH79_SPI_PLATFORM_H
-#define _ATH79_SPI_PLATFORM_H
-
-struct ath79_spi_platform_data {
- unsigned bus_num;
- unsigned num_chipselect;
-};
-
-#endif /* _ATH79_SPI_PLATFORM_H */