diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-02-03 02:38:56 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-03 03:44:04 -0500 |
commit | 6ccd93bdb989507717edb375d40534f1177822c5 (patch) | |
tree | bc18bda9d502c32a916e6858be4a7aa95ef18964 /sound/usb/line6 | |
parent | 695758c6c4d67955f7d73bc9fd39288acfd4b222 (diff) |
ALSA: line6: fixup of line6_start_timer argument type
line6_start_timer passes an unsigned int as argument to be used in mod_timer
which is then used by mod_timer as unsigned long, this just fixes up the
argument type. This change helps make static code checkers happy.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6')
-rw-r--r-- | sound/usb/line6/driver.c | 2 | ||||
-rw-r--r-- | sound/usb/line6/driver.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c index 3cf12ccdd72e..e2a2603a1ca3 100644 --- a/sound/usb/line6/driver.c +++ b/sound/usb/line6/driver.c | |||
@@ -162,7 +162,7 @@ static int line6_send_raw_message_async_part(struct message *msg, | |||
162 | /* | 162 | /* |
163 | Setup and start timer. | 163 | Setup and start timer. |
164 | */ | 164 | */ |
165 | void line6_start_timer(struct timer_list *timer, unsigned int msecs, | 165 | void line6_start_timer(struct timer_list *timer, unsigned long msecs, |
166 | void (*function)(unsigned long), unsigned long data) | 166 | void (*function)(unsigned long), unsigned long data) |
167 | { | 167 | { |
168 | setup_timer(timer, function, data); | 168 | setup_timer(timer, function, data); |
diff --git a/sound/usb/line6/driver.h b/sound/usb/line6/driver.h index fa877a345860..2276b78f3562 100644 --- a/sound/usb/line6/driver.h +++ b/sound/usb/line6/driver.h | |||
@@ -159,7 +159,7 @@ extern int line6_send_sysex_message(struct usb_line6 *line6, | |||
159 | const char *buffer, int size); | 159 | const char *buffer, int size); |
160 | extern ssize_t line6_set_raw(struct device *dev, struct device_attribute *attr, | 160 | extern ssize_t line6_set_raw(struct device *dev, struct device_attribute *attr, |
161 | const char *buf, size_t count); | 161 | const char *buf, size_t count); |
162 | extern void line6_start_timer(struct timer_list *timer, unsigned int msecs, | 162 | extern void line6_start_timer(struct timer_list *timer, unsigned long msecs, |
163 | void (*function)(unsigned long), | 163 | void (*function)(unsigned long), |
164 | unsigned long data); | 164 | unsigned long data); |
165 | extern int line6_version_request_async(struct usb_line6 *line6); | 165 | extern int line6_version_request_async(struct usb_line6 *line6); |