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)
commit9bf48e2ee8a0174adfb0f18d110198e4ca042284
treebb646909608a4c61d8081eaf7c0c482bc831e808
parent6074c3879c69a28cd8ace6ae03df5f9d4d2ef17f
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