summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>2009-06-24 01:07:44 +0000
committerDavid S. Miller <davem@davemloft.net>2009-06-25 02:58:15 -0700
commitc7a1a4c80f873d5d6ecd173035bb80eba489f380 (patch)
tree5e5ab834178d4acf3074047932d498dff8cf6e52 /net
parent11687a1099583273a8a98ec42af62b5bb5a69e45 (diff)
downloadop-kernel-dev-c7a1a4c80f873d5d6ecd173035bb80eba489f380.zip
op-kernel-dev-c7a1a4c80f873d5d6ecd173035bb80eba489f380.tar.gz
Phonet: publicize the Netlink notification function
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/phonet/pn_netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/phonet/pn_netlink.c b/net/phonet/pn_netlink.c
index cec4e59..f8b4cee 100644
--- a/net/phonet/pn_netlink.c
+++ b/net/phonet/pn_netlink.c
@@ -32,7 +32,7 @@
static int fill_addr(struct sk_buff *skb, struct net_device *dev, u8 addr,
u32 pid, u32 seq, int event);
-static void rtmsg_notify(int event, struct net_device *dev, u8 addr)
+void phonet_address_notify(int event, struct net_device *dev, u8 addr)
{
struct sk_buff *skb;
int err = -ENOBUFS;
@@ -94,7 +94,7 @@ static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh, void *attr)
else
err = phonet_address_del(dev, pnaddr);
if (!err)
- rtmsg_notify(nlh->nlmsg_type, dev, pnaddr);
+ phonet_address_notify(nlh->nlmsg_type, dev, pnaddr);
return err;
}
OpenPOWER on IntegriCloud