diff options
author | Chris Rorvick <chris@rorvick.com> | 2015-02-11 06:03:17 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-11 10:41:59 +0100 |
commit | 0e806151e86be52caa1349fa490eab8f09a2b6f5 (patch) | |
tree | 48741127d2bd1972e8c7d2b30f764fe3b24134a2 /sound | |
parent | ALSA: line6: Use explicit type for serial number (diff) | |
download | linux-0e806151e86be52caa1349fa490eab8f09a2b6f5.tar.xz linux-0e806151e86be52caa1349fa490eab8f09a2b6f5.zip |
ALSA: line6: toneport: Use explicit type for firmware version
The firmware version is a single byte so have the variable type agree.
Since the address to this member is passed to the read function, using
an int is not even portable.
Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/usb/line6/toneport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/toneport.c b/sound/usb/line6/toneport.c index ddf7368c2001..6d4c50c9b17d 100644 --- a/sound/usb/line6/toneport.c +++ b/sound/usb/line6/toneport.c @@ -52,7 +52,7 @@ struct usb_line6_toneport { u32 serial_number; /* Firmware version (x 100) */ - int firmware_version; + u8 firmware_version; /* Timer for delayed PCM startup */ struct timer_list timer; |