Re: [PATCH] drivers/core/of: Add symlink to device-tree from devices with an OF node

Jeremy Kerr
2014-11-18T23:54:17Z

Hi Rob,

> struct device doesn't have an of_node member if !CONFIG_OF, so we'll
> need to disable this block in the preprocessor.

Scratch that, I was looking at the wrong header - we do indeed have the
of_node available independently of CONFIG_OF, and this makes the logic a
little cleaner.

Cheers,

Jeremy