X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=include%2Flinux%2Fof_platform.h;h=2a93b64a3869f2af9ea623b8ddc0a435668b3c8c;hb=4ae608e137a8b0e5a34a4f4c409f8468b4685df9;hp=3863a4dbdf1888c51ff9d4ae94057a31e5118034;hpb=73759518d6d6b56e398791b7522328baf4181a82;p=linux-2.6-microblaze.git diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h index 3863a4dbdf18..2a93b64a3869 100644 --- a/include/linux/of_platform.h +++ b/include/linux/of_platform.h @@ -11,9 +11,10 @@ * */ -#ifdef CONFIG_OF_DEVICE #include #include + +#ifdef CONFIG_OF_DEVICE #include #include #include @@ -100,7 +101,7 @@ extern int of_platform_populate(struct device_node *root, #if !defined(CONFIG_OF_ADDRESS) struct of_dev_auxdata; -struct device; +struct device_node; static inline int of_platform_populate(struct device_node *root, const struct of_device_id *matches, const struct of_dev_auxdata *lookup,