gpio: pca953x: add pcal6416 to the of_device_id table
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 9 Apr 2019 10:25:17 +0000 (12:25 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Apr 2019 13:33:35 +0000 (15:33 +0200)
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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c

index 349d0ccb5285a6c4926962bf0a137ada0f0ede03..75066e538b13b30a745bb834a546bd9c7653509b 100644 (file)
@@ -1163,6 +1163,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), },