diff options
author | Chris Rorvick <chris@rorvick.com> | 2015-02-07 17:43:19 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-08 09:07:07 +0100 |
commit | 12865cac38cc9e808ce8b479f4bb12fd00bfee7c (patch) | |
tree | 11aaa0bf5e70f2ea7d47fe4f6094033999305d03 /sound/usb/line6/toneport.c | |
parent | ALSA: line6: Pass toneport pointer to toneport_has_led() (diff) | |
download | linux-12865cac38cc9e808ce8b479f4bb12fd00bfee7c.tar.xz linux-12865cac38cc9e808ce8b479f4bb12fd00bfee7c.zip |
ALSA: line6: Pass driver name to line6_probe()
Provide a unique name for each driver instead of using "line6usb" for
all of them. This will allow for different configurations based on the
driver type.
Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/toneport.c')
-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 2420d2fc8aa2..1a0a485b6654 100644 --- a/sound/usb/line6/toneport.c +++ b/sound/usb/line6/toneport.c @@ -557,7 +557,7 @@ static const struct line6_properties toneport_properties_table[] = { static int toneport_probe(struct usb_interface *interface, const struct usb_device_id *id) { - return line6_probe(interface, id, + return line6_probe(interface, id, "Line6-TonePort", &toneport_properties_table[id->driver_info], toneport_init, sizeof(struct usb_line6_toneport)); } |