From: Dmitry Baryshkov Date: Wed, 3 Sep 2008 15:33:30 +0000 (+0400) Subject: tmio_mmc: fix compilation with debug enabled X-Git-Tag: v2.6.27-rc7~4^2~6 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=fe246eb0b7f2e995c4f172f360bc4e86baccaafe;p=~emulex%2Finfiniband.git tmio_mmc: fix compilation with debug enabled Signed-off-by: Dmitry Baryshkov Acked-by: Ian Molton Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index 9e647a06054..ba2b4240a86 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -159,10 +159,10 @@ static inline void tmio_mmc_kunmap_atomic(struct tmio_mmc_host *host, #define STATUS_TO_TEXT(a) \ do { \ if (status & TMIO_STAT_##a) \ - printf(#a); \ + printk(#a); \ } while (0) -void debug_status(u32 status) +void pr_debug_status(u32 status) { printk(KERN_DEBUG "status: %08x = ", status); STATUS_TO_TEXT(CARD_REMOVE);