diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-12-02 11:50:26 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-12-04 12:32:04 +0100 |
commit | 011f2c26f1b62e309f2eac6a3101bfe0a3c76c7e (patch) | |
tree | be53d4f11f7625508ee3aea9889e854ab5b5f263 /target/linux/brcm2708/patches-4.4/0446-of-Export-of_device_uevent_modalias-for-DRM_MIPI_DSI.patch | |
parent | 4257f6548b9480cdb436115b63d5c134c5e91303 (diff) | |
download | mtk-20170518-011f2c26f1b62e309f2eac6a3101bfe0a3c76c7e.zip mtk-20170518-011f2c26f1b62e309f2eac6a3101bfe0a3c76c7e.tar.gz mtk-20170518-011f2c26f1b62e309f2eac6a3101bfe0a3c76c7e.tar.bz2 |
brcm2708: update linux 4.4 patches to latest version
As usual these patches were extracted and rebased from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0446-of-Export-of_device_uevent_modalias-for-DRM_MIPI_DSI.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0446-of-Export-of_device_uevent_modalias-for-DRM_MIPI_DSI.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0446-of-Export-of_device_uevent_modalias-for-DRM_MIPI_DSI.patch b/target/linux/brcm2708/patches-4.4/0446-of-Export-of_device_uevent_modalias-for-DRM_MIPI_DSI.patch new file mode 100644 index 0000000..1f99c98 --- /dev/null +++ b/target/linux/brcm2708/patches-4.4/0446-of-Export-of_device_uevent_modalias-for-DRM_MIPI_DSI.patch @@ -0,0 +1,21 @@ +From 6245131c0c328d2ed876d87cc20b176e2f24a769 Mon Sep 17 00:00:00 2001 +From: Eric Anholt <eric@anholt.net> +Date: Tue, 9 Aug 2016 15:12:06 -0700 +Subject: [PATCH] of: Export of_device_uevent_modalias for DRM_MIPI_DSI. + +In order to make DSI panel modules able to load automatically, we need +to emit the OF modalias uevent so that their MODULE_DEVICE_TABLE(of, +...) can match against it. + +Signed-off-by: Eric Anholt <eric@anholt.net> +--- + drivers/of/device.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/of/device.c ++++ b/drivers/of/device.c +@@ -287,3 +287,4 @@ int of_device_uevent_modalias(struct dev + + return 0; + } ++EXPORT_SYMBOL(of_device_uevent_modalias); |