From: Stefano Babic Date: Sun, 21 Aug 2011 08:56:57 +0000 (+0200) Subject: MX5: mx53smd: make use of GPIO framework X-Git-Tag: v2011.09-rc1~68^2~95 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=04e25fd6292966982818de5f98247bec130dd4ec;p=u-boot MX5: mx53smd: make use of GPIO framework Signed-off-by: Stefano Babic CC: Fabio Estevam --- diff --git a/board/freescale/mx53smd/mx53smd.c b/board/freescale/mx53smd/mx53smd.c index 21b5d14c02..4a7ee550d5 100644 --- a/board/freescale/mx53smd/mx53smd.c +++ b/board/freescale/mx53smd/mx53smd.c @@ -31,7 +31,7 @@ #include #include #include -#include +#include DECLARE_GLOBAL_DATA_PTR; @@ -139,7 +139,7 @@ struct fsl_esdhc_cfg esdhc_cfg[1] = { int board_mmc_getcd(u8 *cd, struct mmc *mmc) { - *cd = mxc_gpio_get(77); /*GPIO3_13*/ + *cd = gpio_get_value(77); /*GPIO3_13*/ return 0; }