[PATCH 1/1] freescale-mx35-3-stack: Add mmc0
Sascha Hauer
s.hauer at pengutronix.de
Fri Apr 8 02:41:56 EDT 2011
Hi Thomas,
On Thu, Apr 07, 2011 at 09:57:19AM +0200, Thomas Mayer wrote:
>
> Signed-off-by: Thomas Mayer <thomas.mayer at telemotive.de>
> ---
> arch/arm/boards/freescale-mx35-3-stack/3stack.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boards/freescale-mx35-3-stack/3stack.c b/arch/arm/boards/freescale-mx35-3-stack/3stack.c
> index 127bfb4..a4cbbe1 100644
> --- a/arch/arm/boards/freescale-mx35-3-stack/3stack.c
> +++ b/arch/arm/boards/freescale-mx35-3-stack/3stack.c
> @@ -199,6 +199,10 @@ static int f3s_devices_init(void)
> break;
> }
>
> +#ifdef CONFIG_MCI_IMX_ESDHC
> + imx35_add_mmc0(NULL);
> +#endif
No ifdef here, please. Registering a device without a driver available
doesn't hurt, except for a few bytes of binary space.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list