diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-07-31 19:06:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-13 17:32:56 -0700 |
commit | 81eb8adfcec210a820ad9872ffb242482c976b8d (patch) | |
tree | 36710c8eb010284b5f1532d68309eb25854af8d2 | |
parent | bf3fc82895f4f501da9daef44d057749fe900c3e (diff) | |
download | linux-3.10-81eb8adfcec210a820ad9872ffb242482c976b8d.tar.gz linux-3.10-81eb8adfcec210a820ad9872ffb242482c976b8d.tar.bz2 linux-3.10-81eb8adfcec210a820ad9872ffb242482c976b8d.zip |
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>
-rw-r--r-- | drivers/usb/class/cdc-acm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 0725b1871f2..a92395bf5f5 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) static void acm_waker(struct work_struct *waker) { struct acm *acm = container_of(waker, struct acm, waker); - long flags; + unsigned long flags; int rv; rv = usb_autopm_get_interface(acm->control); |