[PATCH 01/10] add gpiolib support

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 3 03:00:32 EDT 2012


Hi Steffen,

On Fri, Aug 31, 2012 at 10:54:23AM +0200, Steffen Trumtrar wrote:
> diff --git a/include/gpio.h b/include/gpio.h
> index b7d8402..903fa06 100644
> --- a/include/gpio.h
> +++ b/include/gpio.h
> @@ -3,12 +3,28 @@
>  
>  #include <asm/gpio.h>
>  
> -static inline int gpio_request(unsigned gpio, const char *label)
> -{
> -	return 0;
> -}
> -
> -static inline void gpio_free(unsigned gpio)
> -{
> -}

We have to keep these. They are used by some code.


-- 
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