summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/bcm43xx/bcm43xx_debugfs.c
diff options
context:
space:
mode:
authorMichael Buesch <mbuesch@freenet.de>2006-01-31 20:11:38 +0100
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)
downloadop-kernel-dev-65f3f19120cf32233f537562e69893b88727b634.zip
op-kernel-dev-65f3f19120cf32233f537562e69893b88727b634.tar.gz
[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 f8cfc84..5a7dc43 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,
down(&big_buffer_sem);
/* This is where the information is written to the "driver" file */
- fappend(BCM43xx_DRIVER_NAME "\n");
+ fappend(KBUILD_MODNAME " driver\n");
fappend("Compiled at: %s %s\n", __DATE__, __TIME__);
res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
@@ -433,12 +433,12 @@ void bcm43xx_debugfs_log_txstat(struct bcm43xx_private *bcm,
void bcm43xx_debugfs_init(void)
{
memset(&fs, 0, sizeof(fs));
- fs.root = debugfs_create_dir(DRV_NAME, NULL);
+ fs.root = debugfs_create_dir(KBUILD_MODNAME, NULL);
if (!fs.root)
- printk(KERN_ERR PFX "debugfs: creating \"" DRV_NAME "\" subdir failed!\n");
+ printk(KERN_ERR PFX "debugfs: creating \"" KBUILD_MODNAME "\" subdir failed!\n");
fs.dentry_driverinfo = debugfs_create_file("driver", 0444, fs.root, NULL, &drvinfo_fops);
if (!fs.dentry_driverinfo)
- printk(KERN_ERR PFX "debugfs: creating \"" DRV_NAME "/driver\" failed!\n");
+ printk(KERN_ERR PFX "debugfs: creating \"" KBUILD_MODNAME "/driver\" failed!\n");
}
void bcm43xx_debugfs_exit(void)
OpenPOWER on IntegriCloud