gpio: omap_gpio: Add DM_FLAG_PRE_RELOC flag
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 15 Mar 2018 15:41:34 +0000 (21:11 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Mar 2018 20:32:30 +0000 (16:32 -0400)
commit8e14ba7bd5242ec1e92367d1cea67b66f8b958c0
tree77da2471b3d3742f3c87aa0d05f17a997bd46bc3
parentf69dce5081396a83b87d6df2693764b99466a18d
gpio: omap_gpio: Add DM_FLAG_PRE_RELOC flag

With DM enabled in SPL, DM_FLAG_PRE_RELOC is required for
the omap_gpio driver to be bound to the gpio devices.

Therefore, add DM_FLAG_PRE_RELOC flag to the omap_gpio driver.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/gpio/omap_gpio.c