netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix bcm43xx-d80211 for inode diet
@ 2006-10-02 11:14 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2006-10-02 11:14 UTC (permalink / raw)
  To: John W. Linville; +Cc: netdev, Michael Buesch, Jiri Benc

This patch propagates the inode diet changes to bcm43xx-d80211.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
This patch is required for compiling bcm43xx-d80211 after pulling the
inode diet changes that went into Linus's tree into wireless-dev, since
bcm43xx-d80211 is not in mainline it wasn't fixed up along with the
changes.

I've compiled this but couldn't test because the kernel currently
doesn't boot on my powerbook, it hangs very early.

--- wireless-dev.orig/drivers/net/wireless/d80211/bcm43xx/bcm43xx_debugfs.c	2006-10-01 11:30:18.040555764 +0200
+++ wireless-dev/drivers/net/wireless/d80211/bcm43xx/bcm43xx_debugfs.c	2006-10-01 11:50:01.780555764 +0200
@@ -54,7 +54,7 @@ static ssize_t write_file_dummy(struct f
 
 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;
 }
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-02 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-02 11:14 [PATCH] fix bcm43xx-d80211 for inode diet Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).