Re: [PATCH 1/5] gpiolib: fix up function prototypes etc

2012-11-08 Thread Linus Walleij
On Wed, Nov 7, 2012 at 6:09 AM, Viresh Kumar wrote: > On 6 November 2012 20:46, Linus Walleij >> -void gpiochip_add_pin_range(struct gpio_chip *chip, const char >> *pinctl_name, >> - unsigned int pin_base, unsigned int npins); >> -void gpiochip_remove_pin_ranges(struct gpio_chip

Re: [PATCH 1/5] gpiolib: fix up function prototypes etc

2012-11-08 Thread Linus Walleij
On Wed, Nov 7, 2012 at 6:09 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 6 November 2012 20:46, Linus Walleij linus.wall...@stericsson.com -void gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name, - unsigned int pin_base, unsigned int npins); -void

[PATCH 1/5] gpiolib: fix up function prototypes etc

2012-11-06 Thread Linus Walleij
From: Linus Walleij Commit 69e1601bca88809dc118abd1becb02c15a02ec71 "gpiolib: provide provision to register pin ranges" Got most of it's function prototypes wrong, so fix this up by: - Moving the void declarations into static inlines in (previously the actual prototypes were declared

[PATCH 1/5] gpiolib: fix up function prototypes etc

2012-11-06 Thread Linus Walleij
From: Linus Walleij linus.wall...@linaro.org Commit 69e1601bca88809dc118abd1becb02c15a02ec71 gpiolib: provide provision to register pin ranges Got most of it's function prototypes wrong, so fix this up by: - Moving the void declarations into static inlines in linux/gpio.h (previously the