diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-12-31 00:04:59 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-01-09 21:47:22 -0800 |
commit | 08245ad87e2970ac56987caab5cd5900563db4e1 (patch) | |
tree | c3db39a4d4c6301f2801496979cefc0e790e15f3 /drivers/ata/libata-eh.c | |
parent | 9931faca02c604c22335f5a935a501bb2ace6e20 (diff) | |
download | linux-08245ad87e2970ac56987caab5cd5900563db4e1.tar.bz2 |
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>
Diffstat (limited to 'drivers/ata/libata-eh.c')
0 files changed, 0 insertions, 0 deletions