Rafał Miłecki | 482f053 | 2011-05-18 02:06:36 +0200 | [diff] [blame^] | 1 | /* |
| 2 | |
| 3 | Broadcom B43 wireless driver |
| 4 | Bus abstraction layer |
| 5 | |
| 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. |
| 10 | |
| 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. |
| 15 | |
| 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. |
| 20 | |
| 21 | */ |
| 22 | |
| 23 | #include "b43.h" |
| 24 | #include "bus.h" |
| 25 | |
| 26 | |
| 27 | /* SSB */ |
| 28 | struct b43_bus_dev *b43_bus_dev_ssb_init(struct ssb_device *sdev) |
| 29 | { |
| 30 | struct b43_bus_dev *dev = kzalloc(sizeof(*dev), GFP_KERNEL); |
| 31 | |
| 32 | dev->bus_type = B43_BUS_SSB; |
| 33 | dev->sdev = sdev; |
| 34 | |
| 35 | return dev; |
| 36 | } |