From: Sebastian Andrzej Siewior Date: Thu, 6 Sep 2012 18:11:02 +0000 (+0200) Subject: usb: gadget: remove __devexit in f_uac2 X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~73^2~141^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e1a27c3258c769ea175780bb28d0c8fead79ff8;p=pandora-kernel.git usb: gadget: remove __devexit in f_uac2 avoids the following section missmatch |WARNING: drivers/usb/gadget/g_audio.o(.init.text+0x2e7): Section |mismatch in reference from the function afunc_bind() to the function |.devexit.text:snd_uac2_remove() |The function __init afunc_bind() references |a function __devexit snd_uac2_remove(). |This is often seen when error handling in the init function |uses functionality in the exit path. |The fix is often to remove the __devexit annotation of |snd_uac2_remove() so it may be used outside an exit section. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed