From 7aa9748584227bd97b642f8127382c75df5f4730 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 30 Oct 2014 20:25:49 -0600 Subject: dm: sunxi: Modify the GPIO driver to support driver model This adds driver model support to the sunxi GPIO driver, using the device tree to trigger binding of the driver. The driver will still operate without driver model too. Signed-off-by: Simon Glass Signed-off-by: Hans de Goede --- include/configs/sunxi-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 4d88991..316e7d9 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -29,6 +29,7 @@ #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM) # define CONFIG_CMD_DM +# define CONFIG_DM_GPIO #endif /* -- cgit v1.1