aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/niu.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-06-09 22:22:17 -0600
committerGrant Likely <grant.likely@secretlab.ca>2010-07-05 16:14:51 -0600
commitf9f5a4669f1334a558f102c311debfd008e7c2bc (patch)
treef07afd4dc4797965ec09f0ed76d429eae5065b87 /drivers/net/niu.c
parent8cec0e7b4c7c0b76f2b5285f250211ad81c3eafd (diff)
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>
Diffstat (limited to 'drivers/net/niu.c')
0 files changed, 0 insertions, 0 deletions