[PATCH] pinctrl: aw9523: Add proper terminator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The of_device_id array needs to be terminated with a NULL
entry.

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202403061147.85XYVsk3-lkp@xxxxxxxxx/
Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
 drivers/pinctrl/pinctrl-aw9523.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-aw9523.c b/drivers/pinctrl/pinctrl-aw9523.c
index 3b35ef197103..4edd371c469f 100644
--- a/drivers/pinctrl/pinctrl-aw9523.c
+++ b/drivers/pinctrl/pinctrl-aw9523.c
@@ -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);
 

---
base-commit: 3ded216936392775d17bb22fdc480a48eb549961
change-id: 20240306-fix-aw9523-terminator-637ea1c11bde

Best regards,
-- 
Linus Walleij <linus.walleij@xxxxxxxxxx>





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux