Re: [PATCH 2/2] hwmon: (vexpress) Fix build error seen if CONFIG_OF_DEVICE is not set

2013-01-21 Thread Pawel Moll
On Mon, 2012-12-31 at 08:13 +, Guenter Roeck wrote: > 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

[PATCH 2/2] hwmon: (vexpress) Fix build error seen if CONFIG_OF_DEVICE is not set

2012-12-31 Thread Guenter Roeck
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 functio