From 0e806151e86be52caa1349fa490eab8f09a2b6f5 Mon Sep 17 00:00:00 2001 From: Chris Rorvick Date: Tue, 10 Feb 2015 23:03:17 -0600 Subject: 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 Signed-off-by: Takashi Iwai 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; -- cgit v0.10.2