summaryrefslogtreecommitdiffstats
path: root/arch/mips/ath79/dev-spi.h
diff options
context:
space:
mode:
authorJohn Crispin2019-01-11 15:22:39 +0100
committerPaul Burton2019-01-22 20:17:22 +0100
commit85b9686dae30b5ed5c27b85edfe91ac5a8d9d1f3 (patch)
tree52c8492035c11e3d737b62b951564442d66afbc0 /arch/mips/ath79/dev-spi.h
parentMIPS: ath79: drop legacy pci code (diff)
downloadkernel-qcow2-linux-85b9686dae30b5ed5c27b85edfe91ac5a8d9d1f3.tar.gz
kernel-qcow2-linux-85b9686dae30b5ed5c27b85edfe91ac5a8d9d1f3.tar.xz
kernel-qcow2-linux-85b9686dae30b5ed5c27b85edfe91ac5a8d9d1f3.zip
MIPS: ath79: drop platform device registration code
With the target now being fully OF based, we can drop the legacy platform device registration code. All devices and their drivers are now probed via OF. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'arch/mips/ath79/dev-spi.h')
-rw-r--r--arch/mips/ath79/dev-spi.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/mips/ath79/dev-spi.h b/arch/mips/ath79/dev-spi.h
deleted file mode 100644
index d732565ca736..000000000000
--- a/arch/mips/ath79/dev-spi.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Atheros AR71XX/AR724X/AR913X SPI controller device
- *
- * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
- * Copyright (C) 2008 Imre Kaloz <kaloz@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_DEV_SPI_H
-#define _ATH79_DEV_SPI_H
-
-#include <linux/spi/spi.h>
-#include <asm/mach-ath79/ath79_spi_platform.h>
-
-void ath79_register_spi(struct ath79_spi_platform_data *pdata,
- struct spi_board_info const *info,
- unsigned n);
-
-#endif /* _ATH79_DEV_SPI_H */