hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/bcma/bcma_private.h
....@@ -10,13 +10,13 @@
1010 #include <linux/delay.h>
1111
1212 #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__)
1414 #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__)
1616 #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__)
1818 #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__)
2020
2121 struct bcma_bus;
2222
....@@ -33,7 +33,6 @@
3333 int bcma_bus_suspend(struct bcma_bus *bus);
3434 int bcma_bus_resume(struct bcma_bus *bus);
3535 #endif
36
-struct device *bcma_bus_get_host_dev(struct bcma_bus *bus);
3736
3837 /* scan.c */
3938 void bcma_detect_chip(struct bcma_bus *bus);