From 4e4fe815e34a4b98ab6fbe2006fda7be89cf490e Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Fri, 11 Jan 2013 23:08:13 +0100 Subject: [PATCH] --- yaml --- r: 353979 b: refs/heads/master c: 709b2fae7cbadd2582f425aa6c102390d5aa9683 h: refs/heads/master i: 353977: 260a88e46c2808a4547bc72b4746c434789532ca 353975: fbdfba74b954abdbaafc2e65a15da2940ac01787 v: v3 --- [refs] | 2 +- trunk/drivers/staging/line6/toneport.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index c8fcffd846ed..f7e989b05bda 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7414e8252c115f7630e348cda64e4c4a5b69c511 +refs/heads/master: 709b2fae7cbadd2582f425aa6c102390d5aa9683 diff --git a/trunk/drivers/staging/line6/toneport.c b/trunk/drivers/staging/line6/toneport.c index a529dd3d604e..2f44d56700af 100644 --- a/trunk/drivers/staging/line6/toneport.c +++ b/trunk/drivers/staging/line6/toneport.c @@ -87,12 +87,10 @@ static struct line6_pcm_properties toneport_pcm_properties = { static int led_red = 0x00; static int led_green = 0x26; -struct ToneportSourceInfo { +static const struct { const char *name; int code; -}; - -static const struct ToneportSourceInfo toneport_source_info[] = { +} toneport_source_info[] = { {"Microphone", 0x0a01}, {"Line", 0x0801}, {"Instrument", 0x0b01},