/*
 * edma-pcm.h - eDMA PCM driver using dmaengine for AM3xxx, AM4xxx
 *
 * Copyright (C) 2014 Texas Instruments, Inc.
 *
 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
 *
 * Based on: sound/soc/tegra/tegra_pcm.h
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 */

#ifndef __EDMA_PCM_H__
#define __EDMA_PCM_H__

#if IS_ENABLED(CONFIG_SND_EDMA_SOC)
int edma_pcm_platform_register(struct device *dev);
#else
static inline int edma_pcm_platform_register(struct device *dev)
{
	return 0;
}
#endif /* CONFIG_SND_EDMA_SOC */

#endif /* __EDMA_PCM_H__ */
><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/drivers/usb/gadget/legacy'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/gadget/legacy?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/gadget/legacy?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/gadget/legacy?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/drivers/usb/gadget/legacy'>
<input type='hidden' name='id' value='5f155c2563592b1908a7df2dcbd44893fde3e419'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>drivers</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>usb</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/gadget?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>gadget</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/gadget/legacy?id=5f155c2563592b1908a7df2dcbd44893fde3e419'>legacy</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/gadget/legacy?id=5f155c2563592b1908a7df2dcbd44893fde3e419&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>