| .. | .. |
|---|
| 10 | 10 | #include <linux/delay.h> |
|---|
| 11 | 11 | |
|---|
| 12 | 12 | #define bcma_err(bus, fmt, ...) \ |
|---|
| 13 | | - pr_err("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) |
|---|
| 13 | + dev_err((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) |
|---|
| 14 | 14 | #define bcma_warn(bus, fmt, ...) \ |
|---|
| 15 | | - pr_warn("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) |
|---|
| 15 | + dev_warn((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) |
|---|
| 16 | 16 | #define bcma_info(bus, fmt, ...) \ |
|---|
| 17 | | - pr_info("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) |
|---|
| 17 | + dev_info((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) |
|---|
| 18 | 18 | #define bcma_debug(bus, fmt, ...) \ |
|---|
| 19 | | - pr_debug("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) |
|---|
| 19 | + dev_dbg((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) |
|---|
| 20 | 20 | |
|---|
| 21 | 21 | struct bcma_bus; |
|---|
| 22 | 22 | |
|---|
| .. | .. |
|---|
| 33 | 33 | int bcma_bus_suspend(struct bcma_bus *bus); |
|---|
| 34 | 34 | int bcma_bus_resume(struct bcma_bus *bus); |
|---|
| 35 | 35 | #endif |
|---|
| 36 | | -struct device *bcma_bus_get_host_dev(struct bcma_bus *bus); |
|---|
| 37 | 36 | |
|---|
| 38 | 37 | /* scan.c */ |
|---|
| 39 | 38 | void bcma_detect_chip(struct bcma_bus *bus); |
|---|