diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-09-23 11:07:13 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-09-23 11:09:07 +0200 |
commit | 358800b702506c829c8ce21c125420d2abce2090 (patch) | |
tree | c8be776949d0bb20c547db588dc427e310820e2c /arch/arm | |
parent | Input: hynitron_cstxxx - drop explicit initialization of struct i2c_device_id... (diff) | |
download | linux-358800b702506c829c8ce21c125420d2abce2090.tar.xz linux-358800b702506c829c8ce21c125420d2abce2090.zip |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/spitz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 690596f36979..33533e35720f 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c @@ -403,7 +403,7 @@ static const struct software_node_ref_args spitz_mkp_col_gpios[] = { }; static const struct property_entry spitz_mkp_properties[] = { - PROPERTY_ENTRY_ARRAY_U32("linux,keymap", spitz_keymap), + PROPERTY_ENTRY_U32_ARRAY("linux,keymap", spitz_keymap), PROPERTY_ENTRY_REF_ARRAY("row-gpios", spitz_mkp_row_gpios), PROPERTY_ENTRY_REF_ARRAY("col-gpios", spitz_mkp_col_gpios), PROPERTY_ENTRY_U32("col-scan-delay-us", 10), |