Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe246eb0 authored by Dmitry Eremin-Solenikov's avatar Dmitry Eremin-Solenikov Committed by Pierre Ossman
Browse files

tmio_mmc: fix compilation with debug enabled

parent bef69ea0
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -159,10 +159,10 @@ static inline void tmio_mmc_kunmap_atomic(struct tmio_mmc_host *host,
#define STATUS_TO_TEXT(a) \
#define STATUS_TO_TEXT(a) \
	do { \
	do { \
		if (status & TMIO_STAT_##a) \
		if (status & TMIO_STAT_##a) \
			printf(#a); \
			printk(#a); \
	} while (0)
	} while (0)


void debug_status(u32 status)
void pr_debug_status(u32 status)
{
{
	printk(KERN_DEBUG "status: %08x = ", status);
	printk(KERN_DEBUG "status: %08x = ", status);
	STATUS_TO_TEXT(CARD_REMOVE);
	STATUS_TO_TEXT(CARD_REMOVE);