On Thu, Feb 13, 2014 at 11:32:49PM +0100, Lucas Stach wrote: > Allows to talk to external PMIC devices to bring up CPU rail. > > Signed-off-by: Lucas Stach <dev@xxxxxxxxxx> > --- > arch/arm/mach-tegra/include/mach/lowlevel-dvc.h | 71 +++++++++++++++++++++++++ > arch/arm/mach-tegra/include/mach/lowlevel.h | 7 ++- > arch/arm/mach-tegra/include/mach/tegra20-car.h | 8 +++ > 3 files changed, 85 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/mach-tegra/include/mach/lowlevel-dvc.h > > diff --git a/arch/arm/mach-tegra/include/mach/lowlevel-dvc.h b/arch/arm/mach-tegra/include/mach/lowlevel-dvc.h > new file mode 100644 > index 0000000..1675062 > --- /dev/null > +++ b/arch/arm/mach-tegra/include/mach/lowlevel-dvc.h > @@ -0,0 +1,71 @@ > +/* > + * Copyright (C) 2014 Lucas Stach <l.stach@xxxxxxxxxxxxxx> > + * > + * 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/>. > + */ > + > +#include "mach/tegra20-car.h" > +#include "mach/lowlevel.h" > + > +static inline __attribute__((always_inline)) > +void tegra_dvc_init(void) > +{ We have a __always_inline define. You should probably use it. 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 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox