diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-05 23:47:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-05 23:47:47 -0500 |
commit | 0dc47877a3de00ceadea0005189656ae8dc52669 (patch) | |
tree | 7440a87385fe318cb42f0ae161be195f5e967d82 /net/irda/irnetlink.c | |
parent | 6387c4bed539539b05fa773cf2ff26529dc3074c (diff) |
net: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/irnetlink.c')
-rw-r--r-- | net/irda/irnetlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/irda/irnetlink.c b/net/irda/irnetlink.c index cd9ff176ecde..9e1fb82e3220 100644 --- a/net/irda/irnetlink.c +++ b/net/irda/irnetlink.c | |||
@@ -40,7 +40,7 @@ static struct net_device * ifname_to_netdev(struct net *net, struct genl_info *i | |||
40 | 40 | ||
41 | ifname = nla_data(info->attrs[IRDA_NL_ATTR_IFNAME]); | 41 | ifname = nla_data(info->attrs[IRDA_NL_ATTR_IFNAME]); |
42 | 42 | ||
43 | IRDA_DEBUG(5, "%s(): Looking for %s\n", __FUNCTION__, ifname); | 43 | IRDA_DEBUG(5, "%s(): Looking for %s\n", __func__, ifname); |
44 | 44 | ||
45 | return dev_get_by_name(net, ifname); | 45 | return dev_get_by_name(net, ifname); |
46 | } | 46 | } |
@@ -56,7 +56,7 @@ static int irda_nl_set_mode(struct sk_buff *skb, struct genl_info *info) | |||
56 | 56 | ||
57 | mode = nla_get_u32(info->attrs[IRDA_NL_ATTR_MODE]); | 57 | mode = nla_get_u32(info->attrs[IRDA_NL_ATTR_MODE]); |
58 | 58 | ||
59 | IRDA_DEBUG(5, "%s(): Switching to mode: %d\n", __FUNCTION__, mode); | 59 | IRDA_DEBUG(5, "%s(): Switching to mode: %d\n", __func__, mode); |
60 | 60 | ||
61 | dev = ifname_to_netdev(&init_net, info); | 61 | dev = ifname_to_netdev(&init_net, info); |
62 | if (!dev) | 62 | if (!dev) |