| 152 | } |
| 153 | |
| 154 | struct bus *alloc_bus(struct device *parent) |
| 155 | { |
| 156 | struct bus *bus; |
| 157 | spin_lock(&bus_lock); |
| 158 | bus = __alloc_bus(parent); |
| 159 | spin_unlock(&bus_lock); |
| 160 | return bus; |
| 161 | } |
| 162 | |
| 163 | /** |
| 164 | * See if a device structure already exists and if not allocate it. |
no test coverage detected