#include "tegra_pcm.h"
+#define DRV_NAME "tegra-pcm-audio"
+
static const struct snd_pcm_hardware tegra_pcm_hardware = {
.info = SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_MMAP_VALID |
static struct platform_driver tegra_pcm_driver = {
.driver = {
- .name = "tegra-pcm-audio",
+ .name = DRV_NAME,
.owner = THIS_MODULE,
},
.probe = tegra_pcm_platform_probe,
MODULE_AUTHOR("Stephen Warren <swarren@nvidia.com>");
MODULE_DESCRIPTION("Tegra PCM ASoC driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:" DRV_NAME);