aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of_device.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-06-29 13:15:54 -0400
committerGrant Likely <grant.likely@secretlab.ca>2010-07-24 11:57:52 -0400
commit295960429675e17ec658320ebb24385727032bed (patch)
treea4631bf0a2c209e964e261a471d9584b8db28197 /include/linux/of_device.h
parent129ac799ad627b1e08382739f9e8cd75d7477fa3 (diff)
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 'include/linux/of_device.h')
-rw-r--r--include/linux/of_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/of_device.h b/include/linux/of_device.h
index 8cd1fe7864e3..0f1911994559 100644
--- a/include/linux/of_device.h
+++ b/include/linux/of_device.h
@@ -16,12 +16,12 @@
16 */ 16 */
17#define of_device platform_device 17#define of_device platform_device
18#include <linux/platform_device.h> 18#include <linux/platform_device.h>
19#include <linux/of_platform.h> /* temporary until merge */
19 20
20#ifdef CONFIG_OF_DEVICE 21#ifdef CONFIG_OF_DEVICE
21#include <linux/device.h> 22#include <linux/device.h>
22#include <linux/of.h> 23#include <linux/of.h>
23#include <linux/mod_devicetable.h> 24#include <linux/mod_devicetable.h>
24#include <asm/of_device.h>
25 25
26#define to_of_device(d) container_of(d, struct of_device, dev) 26#define to_of_device(d) container_of(d, struct of_device, dev)
27 27