diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2016-12-07 11:54:30 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-01-18 09:28:14 -0800 |
commit | fc8048a88e7b5467a77512bf31e5225c0e5a2a0b (patch) | |
tree | 2cd39e28149b4e2a5d0e06e5e4d4d5967883c8e6 /drivers/mmc/mmc_write.c | |
parent | 3564208e013d34eb0dab58d2f1561feee3f5735d (diff) |
mmc: fsl_esdhc: make GPIO support optional
There would be compiling error as below when enable driver model for esdhc.
undefined reference to `dm_gpio_get_value'
undefined reference to `gpio_request_by_name_nodev'
This patch is to make GPIO support optional with CONFIG_DM_GPIO. Because
all boards of QorIQ platform don't need it and they just check register for
CD/WP status, only some boards of i.MX platform require this.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers/mmc/mmc_write.c')
0 files changed, 0 insertions, 0 deletions