aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci-alchemy.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/pci-alchemy.c')
-rw-r--r--arch/mips/pci/pci-alchemy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/pci/pci-alchemy.c b/arch/mips/pci/pci-alchemy.c
index c4ea6cc55f94..38a80c83fd67 100644
--- a/arch/mips/pci/pci-alchemy.c
+++ b/arch/mips/pci/pci-alchemy.c
@@ -29,7 +29,7 @@
29#define PCI_ACCESS_WRITE 1 29#define PCI_ACCESS_WRITE 1
30 30
31struct alchemy_pci_context { 31struct alchemy_pci_context {
32 struct pci_controller alchemy_pci_ctrl; /* leave as first member! */ 32 struct pci_controller alchemy_pci_ctrl; /* leave as first member! */
33 void __iomem *regs; /* ctrl base */ 33 void __iomem *regs; /* ctrl base */
34 /* tools for wired entry for config space access */ 34 /* tools for wired entry for config space access */
35 unsigned long last_elo0; 35 unsigned long last_elo0;
@@ -381,7 +381,7 @@ static int alchemy_pci_probe(struct platform_device *pdev)
381 381
382 r = platform_get_resource(pdev, IORESOURCE_MEM, 0); 382 r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
383 if (!r) { 383 if (!r) {
384 dev_err(&pdev->dev, "no pcictl ctrl regs resource\n"); 384 dev_err(&pdev->dev, "no pcictl ctrl regs resource\n");
385 ret = -ENODEV; 385 ret = -ENODEV;
386 goto out1; 386 goto out1;
387 } 387 }
@@ -482,7 +482,7 @@ out:
482 482
483static struct platform_driver alchemy_pcictl_driver = { 483static struct platform_driver alchemy_pcictl_driver = {
484 .probe = alchemy_pci_probe, 484 .probe = alchemy_pci_probe,
485 .driver = { 485 .driver = {
486 .name = "alchemy-pci", 486 .name = "alchemy-pci",
487 .owner = THIS_MODULE, 487 .owner = THIS_MODULE,
488 }, 488 },