Merge branch 'for-usb-linus' of git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci...
[pandora-kernel.git] / drivers / mmc / core / sdio_irq.c
index 03ead02..68f81b9 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/kthread.h>
+#include <linux/export.h>
 #include <linux/wait.h>
 #include <linux/delay.h>
 
@@ -45,7 +46,7 @@ static int process_sdio_pending_irqs(struct mmc_card *card)
 
        ret = mmc_io_rw_direct(card, 0, 0, SDIO_CCCR_INTx, 0, &pending);
        if (ret) {
-               printk(KERN_DEBUG "%s: error %d reading SDIO_CCCR_INTx\n",
+               pr_debug("%s: error %d reading SDIO_CCCR_INTx\n",
                       mmc_card_id(card), ret);
                return ret;
        }
@@ -55,7 +56,7 @@ static int process_sdio_pending_irqs(struct mmc_card *card)
                if (pending & (1 << i)) {
                        func = card->sdio_func[i - 1];
                        if (!func) {
-                               printk(KERN_WARNING "%s: pending IRQ for "
+                               pr_warning("%s: pending IRQ for "
                                        "non-existent function\n",
                                        mmc_card_id(card));
                                ret = -EINVAL;
@@ -63,7 +64,7 @@ static int process_sdio_pending_irqs(struct mmc_card *card)
                                func->irq_handler(func);
                                count++;
                        } else {
-                               printk(KERN_WARNING "%s: pending IRQ with no handler\n",
+                               pr_warning("%s: pending IRQ with no handler\n",
                                       sdio_func_id(func));
                                ret = -EINVAL;
                        }