summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/u_uac1.h
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2014-12-01 16:09:28 +0800
committerFelipe Balbi <balbi@ti.com>2015-01-15 09:41:48 -0600
commit3703cfe78295b1ccbad091871ccc0fa0e5d0589f (patch)
treef7b1492d3f72c72985fe3585453cf9006322f4d7 /drivers/usb/gadget/function/u_uac1.h
parentd7b3968dbcbb620acf92164752031fa276917db9 (diff)
downloadop-kernel-dev-3703cfe78295b1ccbad091871ccc0fa0e5d0589f.zip
op-kernel-dev-3703cfe78295b1ccbad091871ccc0fa0e5d0589f.tar.gz
usb: gadget: uac1: struct gaudio is useless for struct f_uac1_opts
Since we call gaudio_cleanup at f_audio_free, the f_uac1_opts doesn't need to use gaudio any more. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/function/u_uac1.h')
-rw-r--r--drivers/usb/gadget/function/u_uac1.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/u_uac1.h b/drivers/usb/gadget/function/u_uac1.h
index f8b17fe..fe386df 100644
--- a/drivers/usb/gadget/function/u_uac1.h
+++ b/drivers/usb/gadget/function/u_uac1.h
@@ -70,7 +70,6 @@ struct f_uac1_opts {
unsigned fn_play_alloc:1;
unsigned fn_cap_alloc:1;
unsigned fn_cntl_alloc:1;
- struct gaudio *card;
struct mutex lock;
int refcnt;
};
OpenPOWER on IntegriCloud