diff options
Diffstat (limited to 'drivers/staging/ozwpan/ozmain.c')
-rw-r--r-- | drivers/staging/ozwpan/ozmain.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/drivers/staging/ozwpan/ozmain.c b/drivers/staging/ozwpan/ozmain.c index 51fe9e98c351..d1a5b7a2c16d 100644 --- a/drivers/staging/ozwpan/ozmain.c +++ b/drivers/staging/ozwpan/ozmain.c @@ -3,6 +3,7 @@ * Released under the GNU General Public License Version 2 (GPLv2). * ----------------------------------------------------------------------------- */ + #include <linux/init.h> #include <linux/module.h> #include <linux/timer.h> @@ -10,19 +11,22 @@ #include <linux/netdevice.h> #include <linux/errno.h> #include <linux/ieee80211.h> -#include "ozconfig.h" +#include "ozdbg.h" #include "ozpd.h" #include "ozproto.h" #include "ozcdev.h" -#include "oztrace.h" -/*------------------------------------------------------------------------------ + +unsigned int oz_dbg_mask = OZ_DEFAULT_DBG_MASK; + +/* * The name of the 802.11 mac device. Empty string is the default value but a * value can be supplied as a parameter to the module. An empty string means * bind to nothing. '*' means bind to all netcards - this includes non-802.11 * netcards. Bindings can be added later using an IOCTL. */ static char *g_net_dev = ""; -/*------------------------------------------------------------------------------ + +/* * Context: process */ static int __init ozwpan_init(void) @@ -33,7 +37,8 @@ static int __init ozwpan_init(void) oz_apps_init(); return 0; } -/*------------------------------------------------------------------------------ + +/* * Context: process */ static void __exit ozwpan_exit(void) @@ -42,8 +47,7 @@ static void __exit ozwpan_exit(void) oz_apps_term(); oz_cdev_deregister(); } -/*------------------------------------------------------------------------------ - */ + module_param(g_net_dev, charp, S_IRUGO); module_init(ozwpan_init); module_exit(ozwpan_exit); |