]> git.karo-electronics.de Git - karo-tx-linux.git/commit
of: protect linux/of.h with CONFIG_OF
authorJeremy Kerr <jeremy.kerr@canonical.com>
Sun, 14 Feb 2010 14:13:43 +0000 (07:13 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 14 Feb 2010 14:13:43 +0000 (07:13 -0700)
commit9dfbf207802c7e8cda9d081a8d750b50633c82d2
tree618b86e4d33263272d70159d33d3b25f24921d79
parent7c540d9e3da38c3d1c15fb8059e4577a84ac0066
of: protect linux/of.h with CONFIG_OF

For platforms that have CONFIG_OF optional, we need to make the contents
of linux/of.h conditional on CONFIG_OF.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Michal Simek <monstr@monstr.eu>
include/linux/of.h