diff options
-rw-r--r-- | drivers/of/platform.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 125f2bc0905e..5be008035b94 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c | |||
@@ -19,6 +19,10 @@ | |||
19 | #include <linux/of_device.h> | 19 | #include <linux/of_device.h> |
20 | #include <linux/of_platform.h> | 20 | #include <linux/of_platform.h> |
21 | 21 | ||
22 | #if defined(CONFIG_PPC_DCR) | ||
23 | #include <asm/dcr.h> | ||
24 | #endif | ||
25 | |||
22 | extern struct device_attribute of_platform_device_attrs[]; | 26 | extern struct device_attribute of_platform_device_attrs[]; |
23 | 27 | ||
24 | static int of_platform_bus_match(struct device *dev, struct device_driver *drv) | 28 | static int of_platform_bus_match(struct device *dev, struct device_driver *drv) |