X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=blobdiff_plain;f=drivers%2Fof%2Fproperty.c;h=3fd74bb34819b75e87fd7e60cac82d97ff160a9c;hp=0c0dc2e369c082b0c6774d0aad9766d30319c690;hb=d8e988b62f948d47dd86ec655c89d54053df1754;hpb=8a05abd0c93841a7bbcf777ec1677a1ad9155793 diff --git a/drivers/of/property.c b/drivers/of/property.c index 0c0dc2e369c0..3fd74bb34819 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1444,6 +1444,9 @@ static int of_fwnode_add_links(struct fwnode_handle *fwnode) struct property *p; struct device_node *con_np = to_of_node(fwnode); + if (IS_ENABLED(CONFIG_X86)) + return 0; + if (!con_np) return -EINVAL;