Re: [PATCH] asm-generic/gpio.h: merge basic gpiolib wrappers
From: Russell King - ARM Linux
Date: Fri Oct 28 2011 - 08:42:33 EST
On Fri, Oct 28, 2011 at 02:15:00PM +0200, Mike Frysinger wrote:
> On Thu, Oct 27, 2011 at 15:11, Russell King - ARM Linux wrote:
> > This is extremely dangerous. Consider for example this code
> > (see ARM mach-davinci's gpio.h):
>
> it's interesting you highlight davinci. if i'm reading things
> correctly, the current davinci code is broken today and my v2 proposed
> patch actually fixes it.
That looks like an error in patch 5f3fcf9649dbb010ccac41259d04147775ec8fc2
(ARM: 7040/1: mach-davinci: break out GPIO driver specifics) which does
this:
-#define __ARM_GPIOLIB_COMPLEX
Linus, can you send a fix?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/