diff options
author | Jamie Lentin <[email protected]> | 2012-11-01 23:55:43 +0000 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2012-11-01 17:31:20 -0700 |
commit | eaa7cc60f7dff5e74ef387ace8228235fab8241b (patch) | |
tree | 4f590582b3bf8dcab75507810b9996aa1499522f /tools/perf/util/trace-event-scripting.c | |
parent | d034fbf08b6fe86271d0d0bd332edabeb5749fd6 (diff) |
hwmon: Only include of_match_table with CONFIG_OF_GPIO
The following fixes build errors on sparc. Without any DT support,
of_match_ptr is NULL and the below is a no-op. However, if just
CONFIG_OF is defined then so is of_match_ptr.
All useful parts of the gpio-fan DT support rely on CONFIG_OF_GPIO
anyway, so of_match_table should too.
Signed-off-by: Jamie Lentin <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions