[PATCH 4/6] staging: bcm2835-firmware-gpio: Add brcm, bcm2835-firmware-gpio to compatible list
Michael Zoran
mzoran at crowfest.net
Fri Mar 17 08:22:19 PDT 2017
Since this driver is really a generalized mechanism for doing GPIO
through the firmware, add a new compatible id for
brcm,bcm2835-firmware-gpio.
Signed-off-by: Michael Zoran <mzoran at crowfest.net>
---
drivers/staging/vc04_services/bcm2835-firmware-gpio/gpio-bcm-exp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/vc04_services/bcm2835-firmware-gpio/gpio-bcm-exp.c b/drivers/staging/vc04_services/bcm2835-firmware-gpio/gpio-bcm-exp.c
index f6719c84ed8b..ce21f669ea35 100644
--- a/drivers/staging/vc04_services/bcm2835-firmware-gpio/gpio-bcm-exp.c
+++ b/drivers/staging/vc04_services/bcm2835-firmware-gpio/gpio-bcm-exp.c
@@ -259,6 +259,7 @@ static int brcmexp_gpio_remove(struct platform_device *pdev)
}
static const struct of_device_id __maybe_unused brcmexp_gpio_ids[] = {
+ { .compatible = "brcm,bcm2835-firmware-gpio" },
{ .compatible = "brcm,bcm2835-expgpio" },
{ }
};
--
2.11.0
More information about the linux-rpi-kernel
mailing list