[U-Boot] [PATCH 2/8] mmc: sdhci: rework Samsung specfic code

Mike Frysinger vapier at gentoo.org
Mon Jun 13 23:01:45 CEST 2011


On Sat, Jun 11, 2011 at 17:46, Rob Herring wrote:
> --- /dev/null
> +++ b/include/sdhci.h
> @@ -0,0 +1,18 @@
> +/*
> + * Copyright 2011 Calxeda, Inc.
> + *
> + * This program is free software; you can redistribute it and/or modify it
> + * under the terms and conditions of the GNU General Public License,
> + * version 2, as published by the Free Software Foundation.
> + *
> + * This program is distributed in the hope it will be useful, but WITHOUT
> + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> + * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
> + * more details.
> + *
> + * You should have received a copy of the GNU General Public License along with
> + * this program.  If not, see <http://www.gnu.org/licenses/>.
> + */
> +
> +int sdhci_mmc_init(void *base, int bus_width);
> +

please add ifdef protection against multiple inclusion
-mike


More information about the U-Boot mailing list