diff options
author | Rupesh Gujare | 2012-03-29 14:11:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2012-04-10 18:40:52 +0200 |
commit | 68a75f3f1aeae099388f63e4cec3ad08aff8e7da (patch) | |
tree | 442ca9c3e25df79a5913d5796588448d9ece6101 /drivers/staging/ozwpan/ozmain.c | |
parent | staging/mei: wd.c normalize debug and error messages (diff) | |
download | kernel-qcow2-linux-68a75f3f1aeae099388f63e4cec3ad08aff8e7da.tar.gz kernel-qcow2-linux-68a75f3f1aeae099388f63e4cec3ad08aff8e7da.tar.xz kernel-qcow2-linux-68a75f3f1aeae099388f63e4cec3ad08aff8e7da.zip |
staging: ozwpan: Replace existing event logging mechanism
This patch replaces existing event logging mechanism from ioctl to debugfs.
This patch replaces previous patch submitted by Chris Kelly. Previous patch can
be found at :-
http://article.gmane.org/gmane.linux.usb.general/60026/
Signed-off-by: Rupesh Gujare <rgujare@ozmodevices.com>
Signed-off-by: Chris Kelly <ckelly@ozmodevices.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozmain.c')
-rw-r--r-- | drivers/staging/ozwpan/ozmain.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozmain.c b/drivers/staging/ozwpan/ozmain.c index aaf2ccc0bcfb..7579645d642a 100644 --- a/drivers/staging/ozwpan/ozmain.c +++ b/drivers/staging/ozwpan/ozmain.c @@ -33,6 +33,9 @@ static int __init ozwpan_init(void) oz_protocol_init(g_net_dev); oz_app_enable(OZ_APPID_USB, 1); oz_apps_init(); +#ifdef CONFIG_DEBUG_FS + oz_debugfs_init(); +#endif return 0; } /*------------------------------------------------------------------------------ @@ -44,6 +47,9 @@ static void __exit ozwpan_exit(void) oz_apps_term(); oz_cdev_deregister(); oz_event_term(); +#ifdef CONFIG_DEBUG_FS + oz_debugfs_remove(); +#endif } /*------------------------------------------------------------------------------ */ @@ -53,6 +59,6 @@ module_exit(ozwpan_exit); MODULE_AUTHOR("Chris Kelly"); MODULE_DESCRIPTION("Ozmo Devices USB over WiFi hcd driver"); -MODULE_VERSION("1.0.8"); +MODULE_VERSION("1.0.9"); MODULE_LICENSE("GPL"); |