Commit a04a2aca authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'asoc/topic/au1x' into asoc-next

parents 04877397 60db923d
...@@ -73,12 +73,14 @@ static struct snd_soc_dai_link db1300_ac97_dai = { ...@@ -73,12 +73,14 @@ static struct snd_soc_dai_link db1300_ac97_dai = {
static struct snd_soc_card db1300_ac97_machine = { static struct snd_soc_card db1300_ac97_machine = {
.name = "DB1300_AC97", .name = "DB1300_AC97",
.owner = THIS_MODULE,
.dai_link = &db1300_ac97_dai, .dai_link = &db1300_ac97_dai,
.num_links = 1, .num_links = 1,
}; };
static struct snd_soc_card db1550_ac97_machine = { static struct snd_soc_card db1550_ac97_machine = {
.name = "DB1550_AC97", .name = "DB1550_AC97",
.owner = THIS_MODULE,
.dai_link = &db1200_ac97_dai, .dai_link = &db1200_ac97_dai,
.num_links = 1, .num_links = 1,
}; };
...@@ -145,6 +147,7 @@ static struct snd_soc_dai_link db1300_i2s_dai = { ...@@ -145,6 +147,7 @@ static struct snd_soc_dai_link db1300_i2s_dai = {
static struct snd_soc_card db1300_i2s_machine = { static struct snd_soc_card db1300_i2s_machine = {
.name = "DB1300_I2S", .name = "DB1300_I2S",
.owner = THIS_MODULE,
.dai_link = &db1300_i2s_dai, .dai_link = &db1300_i2s_dai,
.num_links = 1, .num_links = 1,
}; };
...@@ -161,6 +164,7 @@ static struct snd_soc_dai_link db1550_i2s_dai = { ...@@ -161,6 +164,7 @@ static struct snd_soc_dai_link db1550_i2s_dai = {
static struct snd_soc_card db1550_i2s_machine = { static struct snd_soc_card db1550_i2s_machine = {
.name = "DB1550_I2S", .name = "DB1550_I2S",
.owner = THIS_MODULE,
.dai_link = &db1550_i2s_dai, .dai_link = &db1550_i2s_dai,
.num_links = 1, .num_links = 1,
}; };
......
...@@ -379,9 +379,6 @@ static int au1xpsc_ac97_drvprobe(struct platform_device *pdev) ...@@ -379,9 +379,6 @@ static int au1xpsc_ac97_drvprobe(struct platform_device *pdev)
mutex_init(&wd->lock); mutex_init(&wd->lock);
iores = platform_get_resource(pdev, IORESOURCE_MEM, 0); iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (!iores)
return -ENODEV;
wd->mmio = devm_ioremap_resource(&pdev->dev, iores); wd->mmio = devm_ioremap_resource(&pdev->dev, iores);
if (IS_ERR(wd->mmio)) if (IS_ERR(wd->mmio))
return PTR_ERR(wd->mmio); return PTR_ERR(wd->mmio);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment