summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-04-26 20:46:23 -0700
committerDavid S. Miller <davem@davemloft.net>2007-04-26 20:46:23 -0700
commit7a9df167db0f200d5f8e393376dba8ceeae0fd53 (patch)
tree2cbe16f90a869c0ad0987e442af5ad5258403258
parentdd8ceabcd10d47f6f28ecfaf2eac7beffca11b3c (diff)
downloadop-kernel-dev-7a9df167db0f200d5f8e393376dba8ceeae0fd53.zip
op-kernel-dev-7a9df167db0f200d5f8e393376dba8ceeae0fd53.tar.gz
[WEXT]: Move EXPORT_SYMBOL statements where they belong.
EXPORT_SYMBOL statements are supposed to go together with the symbol they're exporting. This patch moves them accordingly. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/wireless/wext.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/wireless/wext.c b/net/wireless/wext.c
index adcb083..5347846 100644
--- a/net/wireless/wext.c
+++ b/net/wireless/wext.c
@@ -1279,6 +1279,7 @@ void wireless_send_event(struct net_device * dev,
return; /* Always success, I guess ;-) */
}
+EXPORT_SYMBOL(wireless_send_event);
/********************** ENHANCED IWSPY SUPPORT **********************/
/*
@@ -1356,6 +1357,7 @@ int iw_handler_set_spy(struct net_device * dev,
return 0;
}
+EXPORT_SYMBOL(iw_handler_set_spy);
/*------------------------------------------------------------------*/
/*
@@ -1391,6 +1393,7 @@ int iw_handler_get_spy(struct net_device * dev,
spydata->spy_stat[i].updated &= ~IW_QUAL_ALL_UPDATED;
return 0;
}
+EXPORT_SYMBOL(iw_handler_get_spy);
/*------------------------------------------------------------------*/
/*
@@ -1417,6 +1420,7 @@ int iw_handler_set_thrspy(struct net_device * dev,
return 0;
}
+EXPORT_SYMBOL(iw_handler_set_thrspy);
/*------------------------------------------------------------------*/
/*
@@ -1440,6 +1444,7 @@ int iw_handler_get_thrspy(struct net_device * dev,
return 0;
}
+EXPORT_SYMBOL(iw_handler_get_thrspy);
/*------------------------------------------------------------------*/
/*
@@ -1516,10 +1521,4 @@ void wireless_spy_update(struct net_device * dev,
}
}
}
-
-EXPORT_SYMBOL(iw_handler_get_spy);
-EXPORT_SYMBOL(iw_handler_get_thrspy);
-EXPORT_SYMBOL(iw_handler_set_spy);
-EXPORT_SYMBOL(iw_handler_set_thrspy);
-EXPORT_SYMBOL(wireless_send_event);
EXPORT_SYMBOL(wireless_spy_update);
OpenPOWER on IntegriCloud