Skip to content
Commit f9f5a466 authored by Grant Likely's avatar Grant Likely
Browse files

of/device: Move struct of_device define outside of CONFIG_OF_DEVICE test



Some code uses of_device even when CONFIG_OF_DEVICE is not set.  This
patch makes of_device valid all the time by moving it outside of the
ifdef CONFIG_OF_DEVICE test.

Reported-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
parent 8cec0e7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment