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)
commitf9f5a4669f1334a558f102c311debfd008e7c2bc
treef07afd4dc4797965ec09f0ed76d429eae5065b87
parent8cec0e7b4c7c0b76f2b5285f250211ad81c3eafd
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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
include/linux/of_device.h