diff options
author | Simon Glass | 2017-05-17 17:18:03 -0600 |
---|---|---|
committer | Simon Glass | 2017-06-01 06:57:52 -0600 |
commit | 9d922450aa9944ecf8c249c892078cda80f40e02 (patch) | |
tree | fb1333b82562bf0f69e7b3e7e2cd4cce519db751 /drivers/gpio | |
parent | 31493dd5ffc74e2d5d1f1112fd2267e37d4fd698 (diff) |
dm: Use dm.h header when driver mode is used
This header includes things that are needed to make driver build. Adjust
existing users to include that always, even if other dm/ includes are
present
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/bcm6345_gpio.c | 2 | ||||
-rw-r--r-- | drivers/gpio/gpio-uniphier.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/bcm6345_gpio.c b/drivers/gpio/bcm6345_gpio.c index 1c46020aa4d..1d752130dfe 100644 --- a/drivers/gpio/bcm6345_gpio.c +++ b/drivers/gpio/bcm6345_gpio.c @@ -9,10 +9,10 @@ */ #include <common.h> +#include <dm.h> #include <errno.h> #include <asm/gpio.h> #include <asm/io.h> -#include <dm/device.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/gpio/gpio-uniphier.c b/drivers/gpio/gpio-uniphier.c index ad1176420db..a10116c2157 100644 --- a/drivers/gpio/gpio-uniphier.c +++ b/drivers/gpio/gpio-uniphier.c @@ -6,7 +6,7 @@ */ #include <common.h> -#include <dm/device.h> +#include <dm.h> #include <linux/bitops.h> #include <linux/io.h> #include <linux/sizes.h> |