hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/pci/bus.c
....@@ -23,7 +23,7 @@
2323
2424 entry = resource_list_create_entry(res, 0);
2525 if (!entry) {
26
- printk(KERN_ERR "PCI: can't add host bridge window %pR\n", res);
26
+ pr_err("PCI: can't add host bridge window %pR\n", res);
2727 return;
2828 }
2929
....@@ -288,8 +288,7 @@
288288 res->end = end;
289289 res->flags &= ~IORESOURCE_UNSET;
290290 orig_res.flags &= ~IORESOURCE_UNSET;
291
- pci_printk(KERN_DEBUG, dev, "%pR clipped to %pR\n",
292
- &orig_res, res);
291
+ pci_info(dev, "%pR clipped to %pR\n", &orig_res, res);
293292
294293 return true;
295294 }
....@@ -414,11 +413,9 @@
414413 get_device(&bus->dev);
415414 return bus;
416415 }
417
-EXPORT_SYMBOL(pci_bus_get);
418416
419417 void pci_bus_put(struct pci_bus *bus)
420418 {
421419 if (bus)
422420 put_device(&bus->dev);
423421 }
424
-EXPORT_SYMBOL(pci_bus_put);