]> git.baikalelectronics.ru Git - uboot.git/commit
spi: atmel: Add ifdef for DM_GPIO code
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 14 Mar 2018 13:16:31 +0000 (18:46 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 6 Apr 2018 20:11:09 +0000 (16:11 -0400)
commitdfe26599d637f684ca054b435bcbd72e0dbde46a
treebb646909608a4c61d8081eaf7c0c482bc831e808
parentcbc0a2b8a59a8b0433f4868859a72e460c1050f9
spi: atmel: Add ifdef for DM_GPIO code

Few boards are configuring gpio directly from board instead
using drivers/gpio so add ifdef for DM_GPIO to compatible
for both the cases.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Wenyou Yang <wenyouya@gmail.com>
drivers/spi/atmel_spi.c