mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] net: phy: make locally used of_phy_register_fixed_link() static
Date: Thu, 16 Jun 2016 15:48:56 +0200	[thread overview]
Message-ID: <20160616134855.GH9677@pengutronix.de> (raw)
In-Reply-To: <1465971901-24827-1-git-send-email-antonynpavlov@gmail.com>

On Wed, Jun 15, 2016 at 09:25:01AM +0300, Antony Pavlov wrote:
> The patch fixes this compiler's warning:
> 
>     drivers/net/phy/phy.c:303:20: warning: no previous prototype for
>     ‘of_phy_register_fixed_link’ [-Wmissing-prototypes]
> 
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> ---
>  drivers/net/phy/phy.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
> index ed69d9b..13b8324 100644
> --- a/drivers/net/phy/phy.c
> +++ b/drivers/net/phy/phy.c
> @@ -300,7 +300,8 @@ void phy_unregister_device(struct phy_device *phydev)
>  	phydev->registered = 0;
>  }
>  
> -struct phy_device *of_phy_register_fixed_link(struct device_node *np, struct eth_device *edev)
> +static struct phy_device *of_phy_register_fixed_link(struct device_node *np,
> +						struct eth_device *edev)
>  {
>  	struct phy_device *phydev;
>  
> -- 
> 2.7.0
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2016-06-16 13:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-15  6:25 Antony Pavlov
2016-06-16 13:48 ` Sascha Hauer [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=20160616134855.GH9677@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=antonynpavlov@gmail.com \
    --cc=barebox@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