diff options
Diffstat (limited to 'arch/sh/drivers/pci/pci-sh7780.c')
-rw-r--r-- | arch/sh/drivers/pci/pci-sh7780.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sh/drivers/pci/pci-sh7780.c b/arch/sh/drivers/pci/pci-sh7780.c index b68f45b6451a..0e0ddd67e6e1 100644 --- a/arch/sh/drivers/pci/pci-sh7780.c +++ b/arch/sh/drivers/pci/pci-sh7780.c | |||
@@ -71,6 +71,7 @@ static int __init sh7780_pci_init(void) | |||
71 | size_t memsize; | 71 | size_t memsize; |
72 | unsigned int id; | 72 | unsigned int id; |
73 | const char *type; | 73 | const char *type; |
74 | int ret; | ||
74 | 75 | ||
75 | printk(KERN_NOTICE "PCI: Starting intialization.\n"); | 76 | printk(KERN_NOTICE "PCI: Starting intialization.\n"); |
76 | 77 | ||
@@ -197,7 +198,9 @@ static int __init sh7780_pci_init(void) | |||
197 | __raw_writel(SH4_PCICR_PREFIX | SH4_PCICR_CFIN | SH4_PCICR_FTO, | 198 | __raw_writel(SH4_PCICR_PREFIX | SH4_PCICR_CFIN | SH4_PCICR_FTO, |
198 | chan->reg_base + SH4_PCICR); | 199 | chan->reg_base + SH4_PCICR); |
199 | 200 | ||
200 | register_pci_controller(chan); | 201 | ret = register_pci_controller(chan); |
202 | if (unlikely(ret)) | ||
203 | return ret; | ||
201 | 204 | ||
202 | sh7780_pci66_init(chan); | 205 | sh7780_pci66_init(chan); |
203 | 206 | ||