diff options
author | Chris Rorvick <chris@rorvick.com> | 2015-01-12 12:42:40 -0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-12 22:23:59 +0100 |
commit | 410dca8d99ae508078c90414b19f1758c1b4d6fd (patch) | |
tree | 553409975ef76f49de7878435c2db899b554b828 /drivers/staging/line6/driver.h | |
parent | daf54a59f37cb156f4d3044810ac4fe2fdb2b208 (diff) |
staging: line6: Define a device type enum
Define an enum containing the supported devices and associate each entry
in the device table to the respective value.
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.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/staging/line6/driver.h b/drivers/staging/line6/driver.h index 1cc7532257b6..8fb4a9c073b2 100644 --- a/drivers/staging/line6/driver.h +++ b/drivers/staging/line6/driver.h @@ -20,6 +20,27 @@ #define DRIVER_NAME "line6usb" +enum line6_device_type { + LINE6_BASSPODXT, + LINE6_BASSPODXTLIVE, + LINE6_BASSPODXTPRO, + LINE6_GUITARPORT, + LINE6_POCKETPOD, + LINE6_PODHD300, + LINE6_PODHD400, + LINE6_PODHD500, + LINE6_PODSTUDIO_GX, + LINE6_PODSTUDIO_UX1, + LINE6_PODSTUDIO_UX2, + LINE6_PODXT, + LINE6_PODXTLIVE, + LINE6_PODXTPRO, + LINE6_TONEPORT_GX, + LINE6_TONEPORT_UX1, + LINE6_TONEPORT_UX2, + LINE6_VARIAX +}; + #define LINE6_TIMEOUT 1 #define LINE6_BUFSIZE_LISTEN 32 #define LINE6_MESSAGE_MAXLEN 256 |