summaryrefslogtreecommitdiff
path: root/drivers/staging/line6/driver.h
diff options
context:
space:
mode:
authorChris Rorvick <chris@rorvick.com>2015-01-12 12:42:52 -0800
committerTakashi Iwai <tiwai@suse.de>2015-01-12 22:24:07 +0100
commit7b9584fa1c0be583a8981763dba7ef9f4d1fe67b (patch)
treef0b4a5a3306166f5979fddbf30b16039c3eb651a /drivers/staging/line6/driver.h
parentb98a8115f7cb5c8342606eb9a3cb1d808d01efb7 (diff)
staging: line6: Move altsetting to properties
The device type can now be used to determine the altsetting for the interface. Drop the conditional logic and make this value a property. Signed-off-by: Chris Rorvick <chris@rorvick.com> Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/staging/line6/driver.h')
-rw-r--r--drivers/staging/line6/driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/line6/driver.h b/drivers/staging/line6/driver.h
index 9d6b351ec9b3..97d6be1ce5eb 100644
--- a/drivers/staging/line6/driver.h
+++ b/drivers/staging/line6/driver.h
@@ -115,6 +115,8 @@ struct line6_properties {
line6usb driver.
*/
int capabilities;
+
+ int altsetting;
};
/**