Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5eeb1cb authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

ASoC: mdmcalifornium: Rename dummydevice in the auto card



Rename the dummydevice driver in the automotive card to avoid
conflicts with the regular sound card. The conflict was causing
kobject error.

Change-Id: I6548e8b7400191d5fc76976cd057b973c66e36ce
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent fdc449b2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1764,12 +1764,12 @@ static int dummy_machine_remove(struct platform_device *pdev)
}

static struct platform_device dummy_machine_device = {
	.name = "dummymachinedriver",
	.name = "dummymachinedriverauto",
};

static struct platform_driver mdm_asoc_machine_dummy_driver = {
	.driver = {
		.name = "dummymachinedriver",
		.name = "dummymachinedriverauto",
		.owner = THIS_MODULE,
	},
	.probe = dummy_machine_probe,