]> git.baikalelectronics.ru Git - kernel.git/commit
of/flattree: forward declare struct device_node in of_fdt.h
authorGrant Likely <grant.likely@secretlab.ca>
Sun, 9 Jan 2011 04:42:42 +0000 (21:42 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 9 Jan 2011 04:42:42 +0000 (21:42 -0700)
commit1af0831ec949d2ce5983363dd90e84ba3aac287a
treed9eda8a39ba1f4b7849e1fd63c3a0e5ff0215c27
parent7d1bbd8d6922a457731c8f42f0b13011de334835
of/flattree: forward declare struct device_node in of_fdt.h

This patch forward declares struct device_node to fix a compile error
when of_fdt.h is included, but of.h is not.  Alternately, including
linux/of.h could have been added to of_fdt.h, but that pulls in a lot
of unnecessary declarations when only working with the flattened
form.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
include/linux/of_fdt.h