[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <152389486496.51482.1409018821443408273@swboyd.mtv.corp.google.com>
Date: Mon, 16 Apr 2018 09:07:44 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Arnd Bergmann <arnd@...db.de>,
Michael Turquette <mturquette@...libre.com>
Cc: Arnd Bergmann <arnd@...db.de>,
Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Nikita Yushchenko <nikita.yoush@...entembedded.com>,
Gaku Inami <gaku.inami.xw@...renesas.com>,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: cs2000: mark resume function as __maybe_unused
Quoting Arnd Bergmann (2018-04-09 03:54:34)
> When power management is disabled, we get a harmless warning:
>
> drivers/clk/clk-cs2000-cp.c:544:12: error: 'cs2000_resume' defined but not used [-Werror=unused-function]
>
> Marking the function as __maybe_unused lets the compiler silently
> drop it instead.
>
> Fixes: eade4ccdb087 ("clk: cs2000: set pm_ops in hibernate-compatible way")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
Applied to clk-fixes
Powered by blists - more mailing lists