From: Stephen Hemminger <shemminger@vyatta•com>
To: David Miller <davem@davemloft•net>
Cc: netdev@vger•kernel.org, Stephen Hemminger <stephen@networkplumber•org>
Subject: [PATCH net-next 3/5] phy: vitesse make vsc824x_add_skew static
Date: Fri, 08 Mar 2013 11:07:42 -0800 [thread overview]
Message-ID: <20130308190809.252350839@vyatta.com> (raw)
In-Reply-To: 20130308190739.260966567@vyatta.com
[-- Attachment #1: vitesse-local.patch --]
[-- Type: text/plain, Size: 710 bytes --]
Function is only used in this file, should be static and not
an exported symbol.
Signed-off-by: Stephen Hemminger <stephen@networkplumber•org>
--- a/drivers/net/phy/vitesse.c 2013-03-08 10:33:16.126142066 -0800
+++ b/drivers/net/phy/vitesse.c 2013-03-08 10:33:22.818142246 -0800
@@ -61,7 +61,7 @@ MODULE_DESCRIPTION("Vitesse PHY driver")
MODULE_AUTHOR("Kriston Carson");
MODULE_LICENSE("GPL");
-int vsc824x_add_skew(struct phy_device *phydev)
+static int vsc824x_add_skew(struct phy_device *phydev)
{
int err;
int extcon;
@@ -81,7 +81,6 @@ int vsc824x_add_skew(struct phy_device *
return err;
}
-EXPORT_SYMBOL(vsc824x_add_skew);
static int vsc824x_config_init(struct phy_device *phydev)
{
next prev parent reply other threads:[~2013-03-08 19:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 19:07 [PATCH net-next 0/5] Trivial patches Stephen Hemminger
2013-03-08 19:07 ` [PATCH net-next 1/5] bna: fix declaration mismatch Stephen Hemminger
2013-03-08 19:30 ` Rasesh Mody
2013-03-08 19:07 ` [PATCH net-next 2/5] Supject: phy: make local function static Stephen Hemminger
2013-03-08 19:07 ` Stephen Hemminger [this message]
2013-03-08 19:07 ` [PATCH net-next 4/5] team: " Stephen Hemminger
2013-03-09 12:07 ` Jiri Pirko
2013-03-08 19:07 ` [PATCH net-next 5/5] dcb: fix sparse warnings Stephen Hemminger
2013-03-09 21:10 ` [PATCH net-next 0/5] Trivial patches David Miller
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=20130308190809.252350839@vyatta.com \
--to=shemminger@vyatta$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=netdev@vger$(echo .)kernel.org \
--cc=stephen@networkplumber$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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