From: robert.jarzmik@free.fr (Robert Jarzmik)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: pxa: cm-x300: remove inline directive
Date: Thu, 28 Dec 2017 08:57:57 +0100 [thread overview]
Message-ID: <87zi63708q.fsf@belgarion.home> (raw)
In-Reply-To: <20171226124536.5973-1-grinberg@compulab.co.il> (Igor Grinberg's message of "Tue, 26 Dec 2017 14:45:36 +0200")
Igor Grinberg <grinberg@compulab.co.il> writes:
> cm_x300_u2d_init() function is only used through its function pointer
> that is passed through platform_data structure to the driver.
> Therefore it can never be inlined.
> Remove the inline directive.
>
> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
> ---
> arch/arm/mach-pxa/cm-x300.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c
> index 868448d2cd82..912e905a6af6 100644
> --- a/arch/arm/mach-pxa/cm-x300.c
> +++ b/arch/arm/mach-pxa/cm-x300.c
> @@ -509,7 +509,7 @@ static int cm_x300_ulpi_phy_reset(void)
> return 0;
> }
>
> -static inline int cm_x300_u2d_init(struct device *dev)
> +static int cm_x300_u2d_init(struct device *dev)
> {
> int err = 0;
Applied to pxa/for-next, thanks.
Cheers.
--
Robert
prev parent reply other threads:[~2017-12-28 7:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-26 12:45 [PATCH] ARM: pxa: cm-x300: remove inline directive Igor Grinberg
2017-12-28 7:57 ` Robert Jarzmik [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=87zi63708q.fsf@belgarion.home \
--to=robert.jarzmik@free.fr \
--cc=linux-arm-kernel@lists.infradead.org \
/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).