aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/netpoll.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-07-09 17:22:04 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-12 15:57:55 -0400
commit9e34a5b51684bc90ac827ec4ba339f3892632eac (patch)
tree69cf791f15f9aedb2e7a40e473295f803ddd814a /net/core/netpoll.c
parent4bc2f18ba4f22a90ab593c0a580fc9a19c4777b6 (diff)
net/core: EXPORT_SYMBOL cleanups
CodingStyle cleanups EXPORT_SYMBOL should immediately follow the symbol declaration. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/netpoll.c')
-rw-r--r--net/core/netpoll.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index ca6dc31843ea..c2b7a8bed8f6 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -197,11 +197,13 @@ void netpoll_poll_dev(struct net_device *dev)
197 service_arp_queue(dev->npinfo); 197 service_arp_queue(dev->npinfo);
198 198
199} 199}
200EXPORT_SYMBOL(netpoll_poll_dev);
200 201
201void netpoll_poll(struct netpoll *np) 202void netpoll_poll(struct netpoll *np)
202{ 203{
203 netpoll_poll_dev(np->dev); 204 netpoll_poll_dev(np->dev);
204} 205}
206EXPORT_SYMBOL(netpoll_poll);
205 207
206static void refill_skbs(void) 208static void refill_skbs(void)
207{ 209{
@@ -313,6 +315,7 @@ void netpoll_send_skb(struct netpoll *np, struct sk_buff *skb)
313 schedule_delayed_work(&npinfo->tx_work,0); 315 schedule_delayed_work(&npinfo->tx_work,0);
314 } 316 }
315} 317}
318EXPORT_SYMBOL(netpoll_send_skb);
316 319
317void netpoll_send_udp(struct netpoll *np, const char *msg, int len) 320void netpoll_send_udp(struct netpoll *np, const char *msg, int len)
318{ 321{
@@ -374,6 +377,7 @@ void netpoll_send_udp(struct netpoll *np, const char *msg, int len)
374 377
375 netpoll_send_skb(np, skb); 378 netpoll_send_skb(np, skb);
376} 379}
380EXPORT_SYMBOL(netpoll_send_udp);
377 381
378static void arp_reply(struct sk_buff *skb) 382static void arp_reply(struct sk_buff *skb)
379{ 383{
@@ -600,6 +604,7 @@ void netpoll_print_options(struct netpoll *np)
600 printk(KERN_INFO "%s: remote ethernet address %pM\n", 604 printk(KERN_INFO "%s: remote ethernet address %pM\n",
601 np->name, np->remote_mac); 605 np->name, np->remote_mac);
602} 606}
607EXPORT_SYMBOL(netpoll_print_options);
603 608
604int netpoll_parse_options(struct netpoll *np, char *opt) 609int netpoll_parse_options(struct netpoll *np, char *opt)
605{ 610{
@@ -692,6 +697,7 @@ int netpoll_parse_options(struct netpoll *np, char *opt)
692 np->name, cur); 697 np->name, cur);
693 return -1; 698 return -1;
694} 699}
700EXPORT_SYMBOL(netpoll_parse_options);
695 701
696int __netpoll_setup(struct netpoll *np) 702int __netpoll_setup(struct netpoll *np)
697{ 703{
@@ -848,6 +854,7 @@ put:
848 dev_put(ndev); 854 dev_put(ndev);
849 return err; 855 return err;
850} 856}
857EXPORT_SYMBOL(netpoll_setup);
851 858
852static int __init netpoll_init(void) 859static int __init netpoll_init(void)
853{ 860{
@@ -908,11 +915,13 @@ void netpoll_cleanup(struct netpoll *np)
908 dev_put(np->dev); 915 dev_put(np->dev);
909 np->dev = NULL; 916 np->dev = NULL;
910} 917}
918EXPORT_SYMBOL(netpoll_cleanup);
911 919
912int netpoll_trap(void) 920int netpoll_trap(void)
913{ 921{
914 return atomic_read(&trapped); 922 return atomic_read(&trapped);
915} 923}
924EXPORT_SYMBOL(netpoll_trap);
916 925
917void netpoll_set_trap(int trap) 926void netpoll_set_trap(int trap)
918{ 927{
@@ -921,14 +930,4 @@ void netpoll_set_trap(int trap)
921 else 930 else
922 atomic_dec(&trapped); 931 atomic_dec(&trapped);
923} 932}
924
925EXPORT_SYMBOL(netpoll_send_skb);
926EXPORT_SYMBOL(netpoll_set_trap); 933EXPORT_SYMBOL(netpoll_set_trap);
927EXPORT_SYMBOL(netpoll_trap);
928EXPORT_SYMBOL(netpoll_print_options);
929EXPORT_SYMBOL(netpoll_parse_options);
930EXPORT_SYMBOL(netpoll_setup);
931EXPORT_SYMBOL(netpoll_cleanup);
932EXPORT_SYMBOL(netpoll_send_udp);
933EXPORT_SYMBOL(netpoll_poll_dev);
934EXPORT_SYMBOL(netpoll_poll);