of: protect contents of of_platform.h and of_device.h
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 13 Apr 2010 23:12:27 +0000 (16:12 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 29 Apr 2010 00:20:30 +0000 (18:20 -0600)
commitefb2e014fc4f2675011b802e1a84bf9a58756004
tree0992402c966154ba3105e5b7d9387df21754f2ac
parent8bfe9b5c3a684fe39eb58a65e466c103d1c32c9a
of: protect contents of of_platform.h and of_device.h

Only process contents of of_platform.h and of_device.h if
CONFIG_OF_DEVICE is set.

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