#include <linux/device.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/dmaengine_pcm.h>
#include "sdma-pcm.h"
static const struct snd_pcm_hardware sdma_pcm_hardware = …;
static const struct snd_dmaengine_pcm_config sdma_dmaengine_pcm_config = …;
int sdma_pcm_platform_register(struct device *dev,
char *txdmachan, char *rxdmachan)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;