From: Lee Jones <lee.jones@linaro.org>
To: Baoyou Xie <baoyou.xie@linaro.org>
Cc: linux-kernel@vger.kernel.org, arnd@arndb.de, xie.baoyou@zte.com.cn
Subject: Re: [PATCH 1/2] mfd: ab8500-debugfs: add function declaration
Date: Tue, 27 Sep 2016 19:49:02 +0100 [thread overview]
Message-ID: <20160927184902.GA21388@dell> (raw)
In-Reply-To: <1474695290-21619-1-git-send-email-baoyou.xie@linaro.org>
On Sat, 24 Sep 2016, Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/mfd/ab8500-debugfs.c:1587:28: warning: no previous prototype for 'suspend_test_wake_cause_interrupt_is_mine' [-Wmissing-prototypes]
>
> In fact, this function need be declared in a header files.
>
> So this patch adds function declaration in
> include/linux/mfd/abx500/ab8500.h.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
> ---
> include/linux/mfd/abx500/ab8500.h | 1 +
> 1 file changed, 1 insertion(+)
I already fixed this: https://patchwork.kernel.org/patch/9333097/
> diff --git a/include/linux/mfd/abx500/ab8500.h b/include/linux/mfd/abx500/ab8500.h
> index 9475fee..a496120 100644
> --- a/include/linux/mfd/abx500/ab8500.h
> +++ b/include/linux/mfd/abx500/ab8500.h
> @@ -508,6 +508,7 @@ void ab8500_override_turn_on_stat(u8 mask, u8 set);
> extern int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size);
> void ab8500_dump_all_banks(struct device *dev);
> void ab8500_debug_register_interrupt(int line);
> +bool suspend_test_wake_cause_interrupt_is_mine(u32 my_int);
> #else
> static inline void ab8500_dump_all_banks(struct device *dev) {}
> static inline void ab8500_debug_register_interrupt(int line) {}
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
prev parent reply other threads:[~2016-09-27 18:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-24 5:34 [PATCH 1/2] mfd: ab8500-debugfs: add function declaration Baoyou Xie
2016-09-24 8:30 ` Arnd Bergmann
[not found] ` <CA+DQWkxQL0-3UFC7RTuBc2NQ1vwMScj9GLRwD62_yNg3pt1yNw@mail.gmail.com>
2016-09-25 23:29 ` Arnd Bergmann
2016-09-27 18:49 ` Lee Jones [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160927184902.GA21388@dell \
--to=lee.jones@linaro.org \
--cc=arnd@arndb.de \
--cc=baoyou.xie@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=xie.baoyou@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).