From 662394fb30fdbcc89ec387918714aebee6868a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Wed, 4 Sep 2019 19:01:23 +0200 Subject: brcm2708: update to latest patches from RPi foundation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas --- ...2835-audio-rename-platform_driver-structu.patch | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 target/linux/brcm2708/patches-4.19/950-0468-staging-bcm2835-audio-rename-platform_driver-structu.patch (limited to 'target/linux/brcm2708/patches-4.19/950-0468-staging-bcm2835-audio-rename-platform_driver-structu.patch') diff --git a/target/linux/brcm2708/patches-4.19/950-0468-staging-bcm2835-audio-rename-platform_driver-structu.patch b/target/linux/brcm2708/patches-4.19/950-0468-staging-bcm2835-audio-rename-platform_driver-structu.patch new file mode 100644 index 0000000000..b40e9bc516 --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0468-staging-bcm2835-audio-rename-platform_driver-structu.patch @@ -0,0 +1,47 @@ +From 2b00b61ccec4b12eada40ab53587f4bda5506f41 Mon Sep 17 00:00:00 2001 +From: Nicolas Saenz Julienne +Date: Wed, 17 Oct 2018 21:01:55 +0200 +Subject: [PATCH 468/782] staging: bcm2835-audio: rename platform_driver + structure + +commit 82cdc0c6b6faf877e2aecb957cffa9cb578cc572 upstream. + +It was called bcm2835_alsa0_driver, that "0" didn't mean much. + +Suggested-by: Takashi Iwai +Signed-off-by: Nicolas Saenz Julienne +Acked-by: Stefan Wahren +Signed-off-by: Greg Kroah-Hartman +--- + drivers/staging/vc04_services/bcm2835-audio/bcm2835.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +--- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c ++++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c +@@ -343,7 +343,7 @@ static const struct of_device_id snd_bcm + }; + MODULE_DEVICE_TABLE(of, snd_bcm2835_of_match_table); + +-static struct platform_driver bcm2835_alsa0_driver = { ++static struct platform_driver bcm2835_alsa_driver = { + .probe = snd_bcm2835_alsa_probe, + #ifdef CONFIG_PM + .suspend = snd_bcm2835_alsa_suspend, +@@ -359,7 +359,7 @@ static int bcm2835_alsa_device_init(void + { + int retval; + +- retval = platform_driver_register(&bcm2835_alsa0_driver); ++ retval = platform_driver_register(&bcm2835_alsa_driver); + if (retval) + pr_err("Error registering bcm2835_audio driver %d .\n", retval); + +@@ -368,7 +368,7 @@ static int bcm2835_alsa_device_init(void + + static void bcm2835_alsa_device_exit(void) + { +- platform_driver_unregister(&bcm2835_alsa0_driver); ++ platform_driver_unregister(&bcm2835_alsa_driver); + } + + late_initcall(bcm2835_alsa_device_init); -- cgit v1.2.3