summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-jz4740/platform.h
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2016-10-31 21:39:51 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-11-05 00:02:02 +0100
commitd839c60ac55681494d7f96c0c278eccc3eac3918 (patch)
tree4c9fa6630ec32c94f531b31dad5cb5605e155183 /arch/mips/include/asm/mach-jz4740/platform.h
parent6ab59018370345b0909af7c1f24553b2608c5fbc (diff)
downloadop-kernel-dev-d839c60ac55681494d7f96c0c278eccc3eac3918.zip
op-kernel-dev-d839c60ac55681494d7f96c0c278eccc3eac3918.tar.gz
MIPS: jz4740: Remove obsolete code
This commit removes two things: - The platform_device that corresponds to the RTC driver, since we now probe this driver from devicetree; - The platform power-off code, since all the jz4740-based platforms are now using the jz4740-rtc driver as the system power controller. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Acked-by: Maarten ter Huurne <maarten@treewalker.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/mips/include/asm/mach-jz4740/platform.h')
-rw-r--r--arch/mips/include/asm/mach-jz4740/platform.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-jz4740/platform.h b/arch/mips/include/asm/mach-jz4740/platform.h
index 073b8bf..3645974 100644
--- a/arch/mips/include/asm/mach-jz4740/platform.h
+++ b/arch/mips/include/asm/mach-jz4740/platform.h
@@ -22,7 +22,6 @@
extern struct platform_device jz4740_udc_device;
extern struct platform_device jz4740_udc_xceiv_device;
extern struct platform_device jz4740_mmc_device;
-extern struct platform_device jz4740_rtc_device;
extern struct platform_device jz4740_i2c_device;
extern struct platform_device jz4740_nand_device;
extern struct platform_device jz4740_framebuffer_device;
OpenPOWER on IntegriCloud