Audio graph based sound card drivers can call graph_remove() function(snip)
for cleanups during driver removal. To facilitate this export above
mentioned function.
Signed-off-by: Sameer Pujar <spujar@xxxxxxxxxx>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
-static int graph_remove(struct platform_device *pdev)Not a big deal, but
+int graph_remove(struct platform_device *pdev)
{
struct snd_soc_card *card = platform_get_drvdata(pdev);
return asoc_simple_clean_reference(card);
}
+EXPORT_SYMBOL_GPL(graph_remove);
it is just calling asoc_simple_clean_reference() which is
already global function.