diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-05-18 02:06:39 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-01 15:10:57 -0400 |
commit | 0581483afe1a6f90f828b36111b05a70c162137d (patch) | |
tree | b5aa95708e5146bccf46f652bdb4498af23e10a3 /drivers/net/wireless/b43/bus.c | |
parent | 21d889d433eb962b70ad88d554a4a7658067596f (diff) | |
download | op-kernel-dev-0581483afe1a6f90f828b36111b05a70c162137d.zip op-kernel-dev-0581483afe1a6f90f828b36111b05a70c162137d.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/bus.c b/drivers/net/wireless/b43/bus.c index be3d206..c116f12 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; |