]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: aw9523: Add proper terminator
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 6 Mar 2024 07:54:25 +0000 (08:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 6 Mar 2024 07:56:24 +0000 (08:56 +0100)
The of_device_id array needs to be terminated with a NULL
entry.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202403061147.85XYVsk3-lkp@intel.com/
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240306-fix-aw9523-terminator-v1-1-13f90f87a7f6@linaro.org
drivers/pinctrl/pinctrl-aw9523.c

index 3b35ef1971037b6d450fad4746855d3afa1aae48..4edd371c469fb6a8adeb672698e7916aec4603fc 100644 (file)
@@ -1099,6 +1099,7 @@ MODULE_DEVICE_TABLE(i2c, aw9523_i2c_id_table);
 
 static const struct of_device_id of_aw9523_i2c_match[] = {
        { .compatible = "awinic,aw9523-pinctrl", },
+       { }
 };
 MODULE_DEVICE_TABLE(of, of_aw9523_i2c_match);