Subject: [PATCH next-20080819] drivers/usb/atm: Fix non-existing warn()

From: Takashi Iwai <[email-masked]>
Date: Tue, 19 Aug 2008 13:28:48 +0200

Fix the die-hard warn() in drivers/usb/atm/usbatm.h that caused a
build error.

Signed-off-by: Takashi Iwai <[email-masked]>
---
diff --git a/drivers/usb/atm/usbatm.h b/drivers/usb/atm/usbatm.h
index e6887c6..714dc14 100644
--- a/drivers/usb/atm/usbatm.h
+++ b/drivers/usb/atm/usbatm.h
@@ -42,7 +42,7 @@
 #ifdef DEBUG
 #define UDSL_ASSERT(x)	BUG_ON(!(x))
 #else
-#define UDSL_ASSERT(x)	do { if (!(x)) warn("failed assertion '%s' at line %d", __stringify(x), __LINE__); } while(0)
+#define UDSL_ASSERT(x)	do { if (!(x)) pr_warning("failed assertion '%s' at line %d", __stringify(x), __LINE__); } while(0)
 #endif
 
 #define usb_err(instance, format, arg...)	\
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email-masked]
More majordomo info at  http://vger.kernel.org/majordomo-info.html