Re: [PATCH 1/2] pinctrl: intel: Fix compilation warning when !CONFIG_PM_SLEEP

[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:

> We get following warning when CONFIG_PM_SLEEP is not set
>
>   warning: ‘intel_gpio_irq_init’ defined but not used [-Wunused-function]
>
> Since the function is only called from intel_pinctrl_resume() move it
> inside CONFIG_PM_SLEEP guard as well.
>
> 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