Re: [PATCH] gpiolib: Provide a definition of struct gpio for thestub gpiolib

From: Mark Brown
Date: Mon Oct 24 2011 - 09:17:54 EST


On Mon, Oct 24, 2011 at 02:54:49PM +0200, Grant Likely wrote:

> You'll still need a 'struct gpio;' forward decl in asm-generic/gpio.h,
> but that's better than having two copies. If you craft the patch,
> I'll make sure some build coverage testing is performed before merging
> it.

Actually I don't think we don't need the forward declaration as we can
just declare the struct prior to including the asm header. Patch to
follow...
--
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/