summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-06-29 09:26:53 -0700
committerGrant Likely <grant.likely@secretlab.ca>2010-07-24 09:57:52 -0600
commit129ac799ad627b1e08382739f9e8cd75d7477fa3 (patch)
tree2c42efc35fbd20546bf8cf06db9716825eb2bda0 /arch/powerpc/include
parent1ab1d63a85cee2545272f63a7644e9f855cb65d0 (diff)
downloadtalos-obmc-linux-129ac799ad627b1e08382739f9e8cd75d7477fa3.tar.gz
talos-obmc-linux-129ac799ad627b1e08382739f9e8cd75d7477fa3.zip
of: remove asm/of_platform.h
Only thing left in it is of_instantiate_rtc() which can be moved to asm/prom.h on PowerPC and is unused in microblaze. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/of_platform.h16
-rw-r--r--arch/powerpc/include/asm/prom.h2
2 files changed, 2 insertions, 16 deletions
diff --git a/arch/powerpc/include/asm/of_platform.h b/arch/powerpc/include/asm/of_platform.h
deleted file mode 100644
index d506aa61db83..000000000000
--- a/arch/powerpc/include/asm/of_platform.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef _ASM_POWERPC_OF_PLATFORM_H
-#define _ASM_POWERPC_OF_PLATFORM_H
-/*
- * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp.
- * <benh@kernel.crashing.org>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- *
- */
-
-extern void of_instantiate_rtc(void);
-
-#endif /* _ASM_POWERPC_OF_PLATFORM_H */
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index f864722679e8..da7dd634e7ce 100644
--- a/arch/powerpc/include/asm/prom.h
+++ b/arch/powerpc/include/asm/prom.h
@@ -117,5 +117,7 @@ extern const void *of_get_mac_address(struct device_node *np);
struct pci_dev;
extern int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq);
+extern void of_instantiate_rtc(void);
+
#endif /* __KERNEL__ */
#endif /* _POWERPC_PROM_H */
OpenPOWER on IntegriCloud