diff options
Diffstat (limited to 'drivers/pci/host/pci-exynos.c')
-rw-r--r-- | drivers/pci/host/pci-exynos.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c index 3de6bfbbe8e9..1632661c5b7f 100644 --- a/drivers/pci/host/pci-exynos.c +++ b/drivers/pci/host/pci-exynos.c | |||
@@ -415,9 +415,7 @@ static irqreturn_t exynos_pcie_msi_irq_handler(int irq, void *arg) | |||
415 | { | 415 | { |
416 | struct pcie_port *pp = arg; | 416 | struct pcie_port *pp = arg; |
417 | 417 | ||
418 | dw_handle_msi_irq(pp); | 418 | return dw_handle_msi_irq(pp); |
419 | |||
420 | return IRQ_HANDLED; | ||
421 | } | 419 | } |
422 | 420 | ||
423 | static void exynos_pcie_msi_init(struct pcie_port *pp) | 421 | static void exynos_pcie_msi_init(struct pcie_port *pp) |
@@ -511,7 +509,8 @@ static struct pcie_host_ops exynos_pcie_host_ops = { | |||
511 | .host_init = exynos_pcie_host_init, | 509 | .host_init = exynos_pcie_host_init, |
512 | }; | 510 | }; |
513 | 511 | ||
514 | static int add_pcie_port(struct pcie_port *pp, struct platform_device *pdev) | 512 | static int __init add_pcie_port(struct pcie_port *pp, |
513 | struct platform_device *pdev) | ||
515 | { | 514 | { |
516 | int ret; | 515 | int ret; |
517 | 516 | ||
@@ -568,10 +567,8 @@ static int __init exynos_pcie_probe(struct platform_device *pdev) | |||
568 | 567 | ||
569 | exynos_pcie = devm_kzalloc(&pdev->dev, sizeof(*exynos_pcie), | 568 | exynos_pcie = devm_kzalloc(&pdev->dev, sizeof(*exynos_pcie), |
570 | GFP_KERNEL); | 569 | GFP_KERNEL); |
571 | if (!exynos_pcie) { | 570 | if (!exynos_pcie) |
572 | dev_err(&pdev->dev, "no memory for exynos pcie\n"); | ||
573 | return -ENOMEM; | 571 | return -ENOMEM; |
574 | } | ||
575 | 572 | ||
576 | pp = &exynos_pcie->pp; | 573 | pp = &exynos_pcie->pp; |
577 | 574 | ||