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 @@ #include #include +#if defined(CONFIG_PPC_DCR) +#include +#endif + extern struct device_attribute of_platform_device_attrs[]; static int of_platform_bus_match(struct device *dev, struct device_driver *drv)