diff options
author | Amerigo Wang <amwang@redhat.com> | 2012-08-09 18:14:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-14 17:28:23 -0400 |
commit | ee89bab14e857678f83a71ee99e575b0fdbb58d4 (patch) | |
tree | 7af6dd9ff8e565dd91fe6324861d432a0cef836d /drivers/net/xen-netfront.c | |
parent | 0f48917b93414a9c306a834b1b93307383956f44 (diff) |
net: move and rename netif_notify_peers()
I believe net/core/dev.c is a better place for netif_notify_peers(),
because other net event notify functions also stay in this file.
And rename it to netdev_notify_peers().
Cc: David S. Miller <davem@davemloft.net>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
-rw-r--r-- | drivers/net/xen-netfront.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c index 30899901aef5..39afd37e62b3 100644 --- a/drivers/net/xen-netfront.c +++ b/drivers/net/xen-netfront.c | |||
@@ -1731,7 +1731,7 @@ static void netback_changed(struct xenbus_device *dev, | |||
1731 | break; | 1731 | break; |
1732 | 1732 | ||
1733 | case XenbusStateConnected: | 1733 | case XenbusStateConnected: |
1734 | netif_notify_peers(netdev); | 1734 | netdev_notify_peers(netdev); |
1735 | break; | 1735 | break; |
1736 | 1736 | ||
1737 | case XenbusStateClosing: | 1737 | case XenbusStateClosing: |