From 6c24405539766c5eba0b6e15853010257b782f6e Mon Sep 17 00:00:00 2001 From: Grant Likely Date: Wed, 9 Jun 2010 22:22:17 -0600 Subject: [PATCH] --- yaml --- r: 204907 b: refs/heads/master c: f9f5a4669f1334a558f102c311debfd008e7c2bc h: refs/heads/master i: 204905: 86b1010fffdbac27ab7894ff9284b48cb3de6ab2 204903: ad593b2b3287e94995443db114ed8482177a859e v: v3 --- [refs] | 2 +- trunk/include/linux/of_device.h | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index 7a2a7a2c4ef2..1a1d421e4fba 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8cec0e7b4c7c0b76f2b5285f250211ad81c3eafd +refs/heads/master: f9f5a4669f1334a558f102c311debfd008e7c2bc diff --git a/trunk/include/linux/of_device.h b/trunk/include/linux/of_device.h index 91d75fb0c726..7d27f5a878f6 100644 --- a/trunk/include/linux/of_device.h +++ b/trunk/include/linux/of_device.h @@ -1,13 +1,6 @@ #ifndef _LINUX_OF_DEVICE_H #define _LINUX_OF_DEVICE_H -#ifdef CONFIG_OF_DEVICE -#include -#include -#include -#include - - /* * The of_device *was* a kind of "base class" that was a superset of * struct device for use by devices attached to an OF node and probed @@ -22,7 +15,12 @@ * from the kernel. */ #define of_device platform_device +#include +#ifdef CONFIG_OF_DEVICE +#include +#include +#include #include #define to_of_device(d) container_of(d, struct of_device, dev)