Guenter Roeck 08245ad87e hwmon: (vexpress) Fix build error seen if CONFIG_OF_DEVICE is not set
Fix:
vexpress.c: In function ‘vexpress_hwmon_name_show’:
vexpress.c:34:2: error: implicit declaration of function
‘of_get_property’ [-Werror=implicit-function-declaration]
vexpress.c:34:27: warning: initialization makes pointer from integer
without a cast [enabled by default]
vexpress.c: In function ‘vexpress_hwmon_label_show’:
vexpress.c:43:22: warning: initialization makes pointer from integer
without a cast [enabled by default]

Seen if CONFIG_OF_DEVICE is not defined. of_get_property is declared in
of.h which is only included by of_device.h if CONFIG_OF_DEVICE is defined.
of.h needs to be included directly.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2013-01-09 21:47:22 -08:00
..
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-05 21:54:40 +01:00
2012-12-11 13:13:55 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:49:40 -08:00
2012-12-11 13:13:55 -08:00
2012-03-27 20:06:02 +02:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-12-13 10:59:11 -08:00
2012-11-28 11:50:34 -08:00
2012-01-05 08:19:35 -08:00
2012-11-28 11:50:34 -08:00
2012-12-13 10:59:11 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-10-10 15:25:56 +02:00
2012-10-10 15:25:56 +02:00
2012-11-28 11:50:34 -08:00
2012-09-23 21:08:36 -07:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:49:40 -08:00
2012-11-28 11:49:40 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00