Re: [PATCH 2/2] pinctrl: baytrail: Fix compilation warnings when !CONFIG_PM

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

 



On Tue, Oct 13, 2015 at 4:51 PM, Mika Westerberg
<mika.westerberg@xxxxxxxxxxxxxxx> wrote:

> When CONFIG_PM is not set we get following compilation warnings:
>
>  warning: ‘byt_gpio_runtime_suspend’ defined but not used [-Wunused-function]
>  warning: ‘byt_gpio_runtime_resume’ defined but not used [-Wunused-function]
>
> Fix this by guarding byt_gpio_runtime_suspend()/byt_gpio_runtime_resume()
> with #ifdef CONFIG_PM.
>
> Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
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