aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.1/0049-bcm2708-Allow-option-card-devices-to-be-configured-v.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-07-17 12:48:39 +0000
committerJohn Crispin <blogic@openwrt.org>2015-07-17 12:48:39 +0000
commit5557174f793f95c1026b5412e721daa083a77e24 (patch)
treef7241e26cb7a88d2490021a1c2053c088d4a5256 /target/linux/brcm2708/patches-4.1/0049-bcm2708-Allow-option-card-devices-to-be-configured-v.patch
parent0ac89d02198acd85904e22559a0936c70fbfb294 (diff)
downloadmaster-187ad058-5557174f793f95c1026b5412e721daa083a77e24.tar.gz
master-187ad058-5557174f793f95c1026b5412e721daa083a77e24.tar.bz2
master-187ad058-5557174f793f95c1026b5412e721daa083a77e24.zip
brcm2708: add linux 4.1 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46399 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0049-bcm2708-Allow-option-card-devices-to-be-configured-v.patch')
-rw-r--r--target/linux/brcm2708/patches-4.1/0049-bcm2708-Allow-option-card-devices-to-be-configured-v.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0049-bcm2708-Allow-option-card-devices-to-be-configured-v.patch b/target/linux/brcm2708/patches-4.1/0049-bcm2708-Allow-option-card-devices-to-be-configured-v.patch
new file mode 100644
index 0000000000..2d6a6c9ca0
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.1/0049-bcm2708-Allow-option-card-devices-to-be-configured-v.patch
@@ -0,0 +1,25 @@
+From b904f76b1090667c9f4741a60da8e60cebc8a91c Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Mon, 13 Apr 2015 19:14:18 +0100
+Subject: [PATCH 049/121] bcm2708: Allow option card devices to be configured
+ via DT
+
+If the kernel is built with Device Tree support, and if a DT blob
+is provided for the kernel at boot time, then the platform devices
+for option cards are not created. This avoids both the need to
+blacklist unwanted devices, and the need to update the board
+support code with each new device.
+---
+ sound/soc/bcm/bcm2835-i2s.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/sound/soc/bcm/bcm2835-i2s.c
++++ b/sound/soc/bcm/bcm2835-i2s.c
+@@ -861,6 +861,7 @@ static const struct of_device_id bcm2835
+ { .compatible = "brcm,bcm2835-i2s", },
+ {},
+ };
++MODULE_DEVICE_TABLE(of, bcm2835_i2s_of_match);
+
+ static struct platform_driver bcm2835_i2s_driver = {
+ .probe = bcm2835_i2s_probe,