summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorChris Rorvick <chris@rorvick.com>2015-02-10 23:03:17 -0600
committerTakashi Iwai <tiwai@suse.de>2015-02-11 10:41:59 +0100
commit0e806151e86be52caa1349fa490eab8f09a2b6f5 (patch)
tree48741127d2bd1972e8c7d2b30f764fe3b24134a2 /sound
parent12b00157fd8572ee1f54b70bbf496641a1608924 (diff)
downloadop-kernel-dev-0e806151e86be52caa1349fa490eab8f09a2b6f5.zip
op-kernel-dev-0e806151e86be52caa1349fa490eab8f09a2b6f5.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/toneport.c b/sound/usb/line6/toneport.c
index ddf7368..6d4c50c 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;
OpenPOWER on IntegriCloud