[PATCH] libertas: inode diet fixes
Dan Williams
dcbw at redhat.com
Tue Oct 3 12:08:40 EDT 2006
Fix inode member usage under 2.6.18.
Signed-off-by: Dan Williams <dcbw at redhat.com>
diff --git a/drivers/net/wireless/libertas/wlan_debugfs.c b/drivers/net/wireless/libertas/wlan_debugfs.c
index 3a6b055..d5435f7 100644
--- a/drivers/net/wireless/libertas/wlan_debugfs.c
+++ b/drivers/net/wireless/libertas/wlan_debugfs.c
@@ -19,7 +19,7 @@ void libertas_debug_init(wlan_private *
static int open_file_generic(struct inode *inode, struct file *file)
{
- file->private_data = inode->u.generic_ip;
+ file->private_data = inode->i_private;
return 0;
}
More information about the libertas-dev
mailing list