archive mirror
 help / color / mirror / Atom feed
From: Kevin Hilman <>
To: Arnd Bergmann <>,
	Alessandro Zummo <>,
	Alexandre Belloni <>
Cc: Arnd Bergmann <>,
	Neil Armstrong <>,,,,
Subject: Re: [PATCH] rtc: meson: mark PM functions as __maybe_unused
Date: Fri, 06 Sep 2019 09:56:11 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Arnd Bergmann <> writes:

> The meson_vrtc_set_wakeup_time() function is only used by
> the PM functions and causes a warning when they are disabled:
> drivers/rtc/rtc-meson-vrtc.c:32:13: error: unused function 'meson_vrtc_set_wakeup_time' [-Werror,-Wunused-function]
> Remove the #ifdef around the callers and add a __maybe_unused
> annotation as a more reliable way to avoid these warnings.
> Signed-off-by: Arnd Bergmann <>

Reviewed-by: Kevin Hilman <>

  reply	other threads:[~2019-09-06 16:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06 15:24 Arnd Bergmann
2019-09-06 16:56 ` Kevin Hilman [this message]
2019-09-10 14:15 ` Alexandre Belloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] rtc: meson: mark PM functions as __maybe_unused' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).