summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-10-20 13:13:09 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2008-10-20 13:13:09 +1100
commit1fa79d8b05b1ee8b69bc87dcde7b4e2e20b93cb1 (patch)
treeeabe14077719c13863834f2b9c9590d8451be068 /include
parentd6cb1593ff260a0fb5f09fd651f58e42fd4ba47d (diff)
Revert "USB: remove warn() macro from usb.h"
This reverts commit 097f2cd062c99a098831b29107441bc66d9079c9.
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 7a0660cfd089..8fa973bede5e 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -1722,6 +1722,8 @@ extern void usb_unregister_notify(struct notifier_block *nb);
format "\n" , ## arg)
#define info(format, arg...) printk(KERN_INFO KBUILD_MODNAME ": " \
format "\n" , ## arg)
+#define warn(format, arg...) printk(KERN_WARNING KBUILD_MODNAME ": " \
+ format "\n" , ## arg)
#endif /* __KERNEL__ */