2015-08-17 06:04:32 +00:00
|
|
|
From ed44696bbccff9cf2feede419b4e335f18e686ea Mon Sep 17 00:00:00 2001
|
2015-07-17 12:48:39 +00:00
|
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
Date: Mon, 13 Apr 2015 19:14:18 +0100
|
2015-08-17 06:04:32 +00:00
|
|
|
Subject: [PATCH 049/148] bcm2708: Allow option card devices to be configured
|
2015-07-17 12:48:39 +00:00
|
|
|
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,
|