diff mbox series

gpio: pca953x: add pcal6416 to the of_device_id table

Message ID 20190409102517.6468-1-alexandre.belloni@bootlin.com
State New
Headers show
Series gpio: pca953x: add pcal6416 to the of_device_id table | expand

Commit Message

Alexandre Belloni April 9, 2019, 10:25 a.m. UTC
When adding support for the pcal6416, the of_device_id table was left out,
add the proper entry.

Fixes: aac1e3c9680b ("gpio: pca953x: add support for pcal6416 type")
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 drivers/gpio/gpio-pca953x.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij April 11, 2019, 1:33 p.m. UTC | #1
On Tue, Apr 9, 2019 at 12:25 PM Alexandre Belloni
<alexandre.belloni@bootlin.com> wrote:

> When adding support for the pcal6416, the of_device_id table was left out,
> add the proper entry.
>
> Fixes: aac1e3c9680b ("gpio: pca953x: add support for pcal6416 type")
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

Patch applied.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index 7e76830b3368..7e435888ba08 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -1152,6 +1152,7 @@  static const struct of_device_id pca953x_dt_ids[] = {
 	{ .compatible = "nxp,pca9575", .data = OF_957X(16, PCA_INT), },
 	{ .compatible = "nxp,pca9698", .data = OF_953X(40, 0), },
 
+	{ .compatible = "nxp,pcal6416", .data = OF_953X(16, PCA_LATCH_INT), },
 	{ .compatible = "nxp,pcal6524", .data = OF_953X(24, PCA_LATCH_INT), },
 	{ .compatible = "nxp,pcal9555a", .data = OF_953X(16, PCA_LATCH_INT), },