diff options
Diffstat (limited to 'drivers/mmc/mmci.c')
-rw-r--r-- | drivers/mmc/mmci.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/mmc/mmci.c b/drivers/mmc/mmci.c index da8e4d7339cc..1886562abdd4 100644 --- a/drivers/mmc/mmci.c +++ b/drivers/mmc/mmci.c | |||
@@ -7,7 +7,6 @@ | |||
7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
9 | */ | 9 | */ |
10 | #include <linux/config.h> | ||
11 | #include <linux/module.h> | 10 | #include <linux/module.h> |
12 | #include <linux/moduleparam.h> | 11 | #include <linux/moduleparam.h> |
13 | #include <linux/init.h> | 12 | #include <linux/init.h> |
@@ -532,11 +531,11 @@ static int mmci_probe(struct amba_device *dev, void *id) | |||
532 | writel(0, host->base + MMCIMASK1); | 531 | writel(0, host->base + MMCIMASK1); |
533 | writel(0xfff, host->base + MMCICLEAR); | 532 | writel(0xfff, host->base + MMCICLEAR); |
534 | 533 | ||
535 | ret = request_irq(dev->irq[0], mmci_irq, SA_SHIRQ, DRIVER_NAME " (cmd)", host); | 534 | ret = request_irq(dev->irq[0], mmci_irq, IRQF_SHARED, DRIVER_NAME " (cmd)", host); |
536 | if (ret) | 535 | if (ret) |
537 | goto unmap; | 536 | goto unmap; |
538 | 537 | ||
539 | ret = request_irq(dev->irq[1], mmci_pio_irq, SA_SHIRQ, DRIVER_NAME " (pio)", host); | 538 | ret = request_irq(dev->irq[1], mmci_pio_irq, IRQF_SHARED, DRIVER_NAME " (pio)", host); |
540 | if (ret) | 539 | if (ret) |
541 | goto irq0_free; | 540 | goto irq0_free; |
542 | 541 | ||
@@ -546,9 +545,9 @@ static int mmci_probe(struct amba_device *dev, void *id) | |||
546 | 545 | ||
547 | mmc_add_host(mmc); | 546 | mmc_add_host(mmc); |
548 | 547 | ||
549 | printk(KERN_INFO "%s: MMCI rev %x cfg %02x at 0x%08lx irq %d,%d\n", | 548 | printk(KERN_INFO "%s: MMCI rev %x cfg %02x at 0x%016llx irq %d,%d\n", |
550 | mmc_hostname(mmc), amba_rev(dev), amba_config(dev), | 549 | mmc_hostname(mmc), amba_rev(dev), amba_config(dev), |
551 | dev->res.start, dev->irq[0], dev->irq[1]); | 550 | (unsigned long long)dev->res.start, dev->irq[0], dev->irq[1]); |
552 | 551 | ||
553 | init_timer(&host->timer); | 552 | init_timer(&host->timer); |
554 | host->timer.data = (unsigned long)host; | 553 | host->timer.data = (unsigned long)host; |