aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-07-31 13:06:13 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-13 20:32:56 -0400
commit81eb8adfcec210a820ad9872ffb242482c976b8d (patch)
tree36710c8eb010284b5f1532d68309eb25854af8d2 /drivers
parentbf3fc82895f4f501da9daef44d057749fe900c3e (diff)
USB: cdc-acm.c: Fix compile warnings
The irq flags should be unsigned long. CC [M] drivers/usb/class/cdc-acm.o drivers/usb/class/cdc-acm.c: In function 'acm_waker': drivers/usb/class/cdc-acm.c:527: warning: comparison of distinct pointer types lacks a cast drivers/usb/class/cdc-acm.c:529: warning: comparison of distinct pointer types lacks a cast Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/class/cdc-acm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 0725b1871f23..a92395bf5f5b 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -512,7 +512,7 @@ static void acm_softint(struct work_struct *work)
512static void acm_waker(struct work_struct *waker) 512static void acm_waker(struct work_struct *waker)
513{ 513{
514 struct acm *acm = container_of(waker, struct acm, waker); 514 struct acm *acm = container_of(waker, struct acm, waker);
515 long flags; 515 unsigned long flags;
516 int rv; 516 int rv;
517 517
518 rv = usb_autopm_get_interface(acm->control); 518 rv = usb_autopm_get_interface(acm->control);