aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-05-30 04:09:06 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-27 17:43:58 -0400
commit843c944fb86e5e31ee7b319172e657ea22301322 (patch)
tree86f8a33735e1079edc8bbc19ca05e6fd6a493658
parent65412e48e21ff4fdaf2aea1565ef4fb3ef5262ce (diff)
[PATCH] USB: fix usbatm gcc-2.95.x bug
Work around the gcc-2.95.x macro expansion bug. Cc: Duncan Sands <baldrick@free.fr> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/atm/usbatm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/atm/usbatm.h b/drivers/usb/atm/usbatm.h
index 2239804453cf..936646457935 100644
--- a/drivers/usb/atm/usbatm.h
+++ b/drivers/usb/atm/usbatm.h
@@ -62,7 +62,8 @@
62 62
63/* FIXME: move to dev_* once ATM is driver model aware */ 63/* FIXME: move to dev_* once ATM is driver model aware */
64#define atm_printk(level, instance, format, arg...) \ 64#define atm_printk(level, instance, format, arg...) \
65 printk(level "ATM dev %d: " format , (instance)->atm_dev->number, ## arg) 65 printk(level "ATM dev %d: " format , \
66 (instance)->atm_dev->number , ## arg)
66 67
67#define atm_err(instance, format, arg...) \ 68#define atm_err(instance, format, arg...) \
68 atm_printk(KERN_ERR, instance , format , ## arg) 69 atm_printk(KERN_ERR, instance , format , ## arg)