]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/xtensa/kernel/pci.c
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / arch / xtensa / kernel / pci.c
index 126c18839409cbc1d19af546f6884f431f2b5f83..5b3403388d7f0b0465d3f1d00bdd2abb36c9410d 100644 (file)
@@ -77,9 +77,9 @@ pcibios_align_resource(void *data, const struct resource *res,
 
        if (res->flags & IORESOURCE_IO) {
                if (size > 0x100) {
-                       printk(KERN_ERR "PCI: I/O Region %s/%d too large"
-                              " (%ld bytes)\n", pci_name(dev),
-                              dev->resource - res, size);
+                       pr_err("PCI: I/O Region %s/%d too large (%u bytes)\n",
+                                       pci_name(dev), dev->resource - res,
+                                       size);
                }
 
                if (start & 0x300)
@@ -174,7 +174,7 @@ static int __init pcibios_init(void)
        struct pci_controller *pci_ctrl;
        struct list_head resources;
        struct pci_bus *bus;
-       int next_busno = 0, i;
+       int next_busno = 0;
 
        printk("PCI: Probing PCI hardware\n");
 
@@ -197,7 +197,7 @@ static int __init pcibios_init(void)
 
 subsys_initcall(pcibios_init);
 
-void __init pcibios_fixup_bus(struct pci_bus *bus)
+void pcibios_fixup_bus(struct pci_bus *bus)
 {
        if (bus->parent) {
                /* This is a subordinate bridge */