aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/sdio_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/sdio_irq.c')
-rw-r--r--drivers/mmc/core/sdio_irq.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c
index 03ead028d2ce..68f81b9ee0fb 100644
--- a/drivers/mmc/core/sdio_irq.c
+++ b/drivers/mmc/core/sdio_irq.c
@@ -16,6 +16,7 @@
16#include <linux/kernel.h> 16#include <linux/kernel.h>
17#include <linux/sched.h> 17#include <linux/sched.h>
18#include <linux/kthread.h> 18#include <linux/kthread.h>
19#include <linux/export.h>
19#include <linux/wait.h> 20#include <linux/wait.h>
20#include <linux/delay.h> 21#include <linux/delay.h>
21 22
@@ -45,7 +46,7 @@ static int process_sdio_pending_irqs(struct mmc_card *card)
45 46
46 ret = mmc_io_rw_direct(card, 0, 0, SDIO_CCCR_INTx, 0, &pending); 47 ret = mmc_io_rw_direct(card, 0, 0, SDIO_CCCR_INTx, 0, &pending);
47 if (ret) { 48 if (ret) {
48 printk(KERN_DEBUG "%s: error %d reading SDIO_CCCR_INTx\n", 49 pr_debug("%s: error %d reading SDIO_CCCR_INTx\n",
49 mmc_card_id(card), ret); 50 mmc_card_id(card), ret);
50 return ret; 51 return ret;
51 } 52 }
@@ -55,7 +56,7 @@ static int process_sdio_pending_irqs(struct mmc_card *card)
55 if (pending & (1 << i)) { 56 if (pending & (1 << i)) {
56 func = card->sdio_func[i - 1]; 57 func = card->sdio_func[i - 1];
57 if (!func) { 58 if (!func) {
58 printk(KERN_WARNING "%s: pending IRQ for " 59 pr_warning("%s: pending IRQ for "
59 "non-existent function\n", 60 "non-existent function\n",
60 mmc_card_id(card)); 61 mmc_card_id(card));
61 ret = -EINVAL; 62 ret = -EINVAL;
@@ -63,7 +64,7 @@ static int process_sdio_pending_irqs(struct mmc_card *card)
63 func->irq_handler(func); 64 func->irq_handler(func);
64 count++; 65 count++;
65 } else { 66 } else {
66 printk(KERN_WARNING "%s: pending IRQ with no handler\n", 67 pr_warning("%s: pending IRQ with no handler\n",
67 sdio_func_id(func)); 68 sdio_func_id(func));
68 ret = -EINVAL; 69 ret = -EINVAL;
69 } 70 }