b43: add bus device abstraction layer
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / net / wireless / b43 / bus.c
blobf8ccd2cea3f930c5da2d01aa64f855c5bcd289c8
1 /*
3 Broadcom B43 wireless driver
4 Bus abstraction layer
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
19 Boston, MA 02110-1301, USA.
23 #include "b43.h"
24 #include "bus.h"
27 /* SSB */
28 struct b43_bus_dev *b43_bus_dev_ssb_init(struct ssb_device *sdev)
30 struct b43_bus_dev *dev = kzalloc(sizeof(*dev), GFP_KERNEL);
32 dev->bus_type = B43_BUS_SSB;
33 dev->sdev = sdev;
35 return dev;