Re: [PATCH] gpio: move varargs hack outside #ifdef GPIOLIB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 1, 2014 at 6:18 AM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> commit 39b2bbe3d715cf5013b5c48695ccdd25bd3bf120
> "gpio: add flags argument to gpiod_get*() functions"
> added a dynamic flags argument to all the GPIOD getter
> functions, however this did not cover the stubs so
> when people used gpiod stubs to compile out descriptor
> code, compilation failed.
>
> Solve this by:
> - Also rename all the stub functions __gpiod_*
> - Moving the vararg hack outside of #ifdef CONFIG_GPIOLIB
>   so these will always be available.
Damn, haven't thought about this.

Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>

Also it is indeed much nicer to have the macro hacks all in one place. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux