Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: 1b05a7013751 ("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 -1
+1 -1
arch/arm/mach-pxa/spitz.c
··· 403 403 }; 404 404 405 405 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), 407 407 PROPERTY_ENTRY_REF_ARRAY("row-gpios", spitz_mkp_row_gpios), 408 408 PROPERTY_ENTRY_REF_ARRAY("col-gpios", spitz_mkp_col_gpios), 409 409 PROPERTY_ENTRY_U32("col-scan-delay-us", 10),