lkml.org 
[lkml]   [2008]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] gpio_free might sleep, mips architecture
Hello,

Andrew Morton wrote:
> > diff --git a/include/asm-mips/mach-rc32434/gpio.h b/include/asm-mips/mach-rc32434/gpio.h
> > index f946f5f..9b4722e 100644
> > --- a/include/asm-mips/mach-rc32434/gpio.h
> > +++ b/include/asm-mips/mach-rc32434/gpio.h
> > @@ -13,6 +13,7 @@
> > #ifndef _RC32434_GPIO_H_
> > #define _RC32434_GPIO_H_
> >
> > +#include <linux/kernel.h>
> > #include <linux/types.h>
> >
> > struct rb532_gpio_reg {
> > @@ -88,6 +89,7 @@ static inline int gpio_request(unsigned gpio, const char *label)
> > static inline void gpio_free(unsigned gpio)
> > {
> > /* Not yet implemented */
> > + might_sleep();
> > }
> >
>
> There is no gpio_free() in linux-next's include/asm-mips/mach-rc32434/gpio.h
This is OK. This machine type is converted to GPIO lib in linus-next.
So just drop the two hunks for this file. (Note, you only dropped the
addition of might_sleep, but then including linux/kernel.h isn't needed
either.)

Best regards and thanks
Uwe

--
Uwe Kleine-König

exit vi, lesson II:
: w q ! <CR>

NB: write the current file
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-09-18 11:35    [W:0.108 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site