Skip to content

Commit 358800b

Browse files
committed
ARM: spitz: fix compile error when matrix keypad driver is enabled
The correct macro name for creating a u32 array property entry is PROPERTY_ENTRY_U32_ARRAY(). Reported-by: kernel test robot <lkp@intel.com> Fixes: 1b05a70 ("ARM: spitz: Use software nodes/properties for the matrix keypad") Closes: https://lore.kernel.org/oe-kbuild-all/202409230614.BBJikfMj-lkp@intel.com/ Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent b2142a2 commit 358800b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mach-pxa/spitz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ static const struct software_node_ref_args spitz_mkp_col_gpios[] = {
403403
};
404404

405405
static const struct property_entry spitz_mkp_properties[] = {
406-
PROPERTY_ENTRY_ARRAY_U32("linux,keymap", spitz_keymap),
406+
PROPERTY_ENTRY_U32_ARRAY("linux,keymap", spitz_keymap),
407407
PROPERTY_ENTRY_REF_ARRAY("row-gpios", spitz_mkp_row_gpios),
408408
PROPERTY_ENTRY_REF_ARRAY("col-gpios", spitz_mkp_col_gpios),
409409
PROPERTY_ENTRY_U32("col-scan-delay-us", 10),

0 commit comments

Comments
 (0)