summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/of_device.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-06-29 17:15:54 (GMT)
committerGrant Likely <grant.likely@secretlab.ca>2010-07-24 15:57:52 (GMT)
commit295960429675e17ec658320ebb24385727032bed (patch)
treea4631bf0a2c209e964e261a471d9584b8db28197 /arch/sparc/include/asm/of_device.h
parent129ac799ad627b1e08382739f9e8cd75d7477fa3 (diff)
downloadlinux-fsl-qoriq-295960429675e17ec658320ebb24385727032bed.tar.xz
of: remove asm/of_device.h
It is mostly unused now. Sparc has a few defines left in it, but they can be moved to other headers. Removing this header means that new architectures adding CONFIG_OF support don't need to also add this header file. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/of_device.h')
-rw-r--r--arch/sparc/include/asm/of_device.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/sparc/include/asm/of_device.h b/arch/sparc/include/asm/of_device.h
deleted file mode 100644
index 22b9828..0000000
--- a/arch/sparc/include/asm/of_device.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef _ASM_SPARC_OF_DEVICE_H
-#define _ASM_SPARC_OF_DEVICE_H
-#ifdef __KERNEL__
-
-#include <linux/device.h>
-#include <linux/of.h>
-#include <linux/mod_devicetable.h>
-#include <asm/openprom.h>
-
-extern void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name);
-extern void of_iounmap(struct resource *res, void __iomem *base, unsigned long size);
-
-extern void of_propagate_archdata(struct of_device *bus);
-
-/* This is just here during the transition */
-#include <linux/of_platform.h>
-
-#endif /* __KERNEL__ */
-#endif /* _ASM_SPARC_OF_DEVICE_H */