summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/bus.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-05-18 02:06:39 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-06-01 15:10:57 -0400
commit0581483afe1a6f90f828b36111b05a70c162137d (patch)
treeb5aa95708e5146bccf46f652bdb4498af23e10a3 /drivers/net/wireless/b43/bus.c
parent21d889d433eb962b70ad88d554a4a7658067596f (diff)
downloadlinux-0581483afe1a6f90f828b36111b05a70c162137d.tar.gz
linux-0581483afe1a6f90f828b36111b05a70c162137d.tar.bz2
linux-0581483afe1a6f90f828b36111b05a70c162137d.zip
b43: bus: abstract SPROM
SPROM is another frequently used struct. We decided to share SPROM struct between ssb na bcma as long as we will not need any hacks. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/bus.c')
-rw-r--r--drivers/net/wireless/b43/bus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/bus.c b/drivers/net/wireless/b43/bus.c
index be3d206e356f..c116f123aea4 100644
--- a/drivers/net/wireless/b43/bus.c
+++ b/drivers/net/wireless/b43/bus.c
@@ -70,6 +70,8 @@ struct b43_bus_dev *b43_bus_dev_ssb_init(struct ssb_device *sdev)
dev->block_read = b43_bus_ssb_block_read;
dev->block_write = b43_bus_ssb_block_write;
+ dev->bus_sprom = &sdev->bus->sprom;
+
dev->core_id = sdev->id.coreid;
dev->core_rev = sdev->id.revision;