brcm2708: update linux 4.4 patches to latest version
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0447-of-Export-of_device_uevent_modalias-for-DRM_MIPI_DSI.patch
1 From e294a4775d033ed4d0850f841786ec9358facf69 Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Tue, 9 Aug 2016 15:12:06 -0700
4 Subject: [PATCH] of: Export of_device_uevent_modalias for DRM_MIPI_DSI.
5
6 In order to make DSI panel modules able to load automatically, we need
7 to emit the OF modalias uevent so that their MODULE_DEVICE_TABLE(of,
8 ...) can match against it.
9
10 Signed-off-by: Eric Anholt <eric@anholt.net>
11 ---
12 drivers/of/device.c | 1 +
13 1 file changed, 1 insertion(+)
14
15 --- a/drivers/of/device.c
16 +++ b/drivers/of/device.c
17 @@ -287,3 +287,4 @@ int of_device_uevent_modalias(struct dev
18
19 return 0;
20 }
21 +EXPORT_SYMBOL(of_device_uevent_modalias);