aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c
diff options
context:
space:
mode:
authorMichael Buesch <mbuesch@freenet.de>2006-01-31 14:11:38 -0500
committerJohn W. Linville <linville@tuxdriver.com>2006-03-27 11:18:26 -0500
commit65f3f19120cf32233f537562e69893b88727b634 (patch)
tree1e220d79294ff13116be5589efaf6ab1e4fdbd5a /drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c
parent6f3e2045cabd952a86bc819181d8a190cd0689c3 (diff)
[PATCH] bcm43xx: Fix makefile. Remove all the "out-of-tree" stuff.
Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c')
-rw-r--r--drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c b/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c
index f8cfc84ca0da..5a7dc43cd676 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c
@@ -141,7 +141,7 @@ static ssize_t drvinfo_read_file(struct file *file, char __user *userbuf,
141 down(&big_buffer_sem); 141 down(&big_buffer_sem);
142 142
143 /* This is where the information is written to the "driver" file */ 143 /* This is where the information is written to the "driver" file */
144 fappend(BCM43xx_DRIVER_NAME "\n"); 144 fappend(KBUILD_MODNAME " driver\n");
145 fappend("Compiled at: %s %s\n", __DATE__, __TIME__); 145 fappend("Compiled at: %s %s\n", __DATE__, __TIME__);
146 146
147 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos); 147 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
@@ -433,12 +433,12 @@ void bcm43xx_debugfs_log_txstat(struct bcm43xx_private *bcm,
433void bcm43xx_debugfs_init(void) 433void bcm43xx_debugfs_init(void)
434{ 434{
435 memset(&fs, 0, sizeof(fs)); 435 memset(&fs, 0, sizeof(fs));
436 fs.root = debugfs_create_dir(DRV_NAME, NULL); 436 fs.root = debugfs_create_dir(KBUILD_MODNAME, NULL);
437 if (!fs.root) 437 if (!fs.root)
438 printk(KERN_ERR PFX "debugfs: creating \"" DRV_NAME "\" subdir failed!\n"); 438 printk(KERN_ERR PFX "debugfs: creating \"" KBUILD_MODNAME "\" subdir failed!\n");
439 fs.dentry_driverinfo = debugfs_create_file("driver", 0444, fs.root, NULL, &drvinfo_fops); 439 fs.dentry_driverinfo = debugfs_create_file("driver", 0444, fs.root, NULL, &drvinfo_fops);
440 if (!fs.dentry_driverinfo) 440 if (!fs.dentry_driverinfo)
441 printk(KERN_ERR PFX "debugfs: creating \"" DRV_NAME "/driver\" failed!\n"); 441 printk(KERN_ERR PFX "debugfs: creating \"" KBUILD_MODNAME "/driver\" failed!\n");
442} 442}
443 443
444void bcm43xx_debugfs_exit(void) 444void bcm43xx_debugfs_exit(void)