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=4a48b66b3f52aa1a8aaa8a8863891eed35769731;hpb=df43d903828c59afb9e93b59835127a02e1f8144 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;