You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the following errors when compiling for mk808b:
In file included from arch/arm/mach-rk30/board-rk30-box.c:17:0:
arch/arm/mach-rk30/board-pmu-wm8326.c: In function ‘wm831x_post_init’:
arch/arm/mach-rk30/board-pmu-wm8326.c:190:28: error: ‘wm8326_dcdc_info’ undeclared (first use in this function)
for(i = 0; i < ARRAY_SIZE(wm8326_dcdc_info); i++)
^
include/linux/kernel.h:45:33: note: in definition of macro ‘ARRAY_SIZE’
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^
arch/arm/mach-rk30/board-pmu-wm8326.c:190:28: note: each undeclared identifier is reported only once for each function it appears in
for(i = 0; i < ARRAY_SIZE(wm8326_dcdc_info); i++)
^
include/linux/kernel.h:45:33: note: in definition of macro ‘ARRAY_SIZE’
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^
In file included from arch/arm/mach-rk30/board-rk30-box.c:17:0:
include/linux/kernel.h:700:45: error: bit-field ‘’ width not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/compiler-gcc.h:41:28: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^
include/linux/kernel.h:45:59: note: in expansion of macro ‘__must_be_array’
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
The text was updated successfully, but these errors were encountered:
Getting the following errors when compiling for mk808b:
In file included from arch/arm/mach-rk30/board-rk30-box.c:17:0:
arch/arm/mach-rk30/board-pmu-wm8326.c: In function ‘wm831x_post_init’:
arch/arm/mach-rk30/board-pmu-wm8326.c:190:28: error: ‘wm8326_dcdc_info’ undeclared (first use in this function)
for(i = 0; i < ARRAY_SIZE(wm8326_dcdc_info); i++)
^
include/linux/kernel.h:45:33: note: in definition of macro ‘ARRAY_SIZE’
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^
arch/arm/mach-rk30/board-pmu-wm8326.c:190:28: note: each undeclared identifier is reported only once for each function it appears in
for(i = 0; i < ARRAY_SIZE(wm8326_dcdc_info); i++)
^
include/linux/kernel.h:45:33: note: in definition of macro ‘ARRAY_SIZE’
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^
In file included from arch/arm/mach-rk30/board-rk30-box.c:17:0:
include/linux/kernel.h:700:45: error: bit-field ‘’ width not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/compiler-gcc.h:41:28: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^
include/linux/kernel.h:45:59: note: in expansion of macro ‘__must_be_array’
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
The text was updated successfully, but these errors were encountered: