of/device: Move struct of_device define outside of CONFIG_OF_DEVICE test
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 10 Jun 2010 04:22:17 +0000 (22:22 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 5 Jul 2010 22:14:51 +0000 (16:14 -0600)
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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>

No differences found