diff options
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/dwapb_gpio.c | 1 | ||||
-rw-r--r-- | drivers/gpio/mscc_sgpio.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/dwapb_gpio.c b/drivers/gpio/dwapb_gpio.c index 2eb1547b4f..58e3e7b1f7 100644 --- a/drivers/gpio/dwapb_gpio.c +++ b/drivers/gpio/dwapb_gpio.c @@ -12,6 +12,7 @@ #include <asm/io.h> #include <dm.h> #include <dm/device-internal.h> +#include <dm/devres.h> #include <dm/lists.h> #include <dm/root.h> #include <errno.h> diff --git a/drivers/gpio/mscc_sgpio.c b/drivers/gpio/mscc_sgpio.c index c899454ec4..3378ebb442 100644 --- a/drivers/gpio/mscc_sgpio.c +++ b/drivers/gpio/mscc_sgpio.c @@ -13,6 +13,7 @@ #include <asm/io.h> #include <errno.h> #include <clk.h> +#include <linux/err.h> #define MSCC_SGPIOS_PER_BANK 32 #define MSCC_SGPIO_BANK_DEPTH 4 |