summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.4/0446-of-Export-of_device_uevent_modalias-for-DRM_MIPI_DSI.patch
blob: 15f65f1cc206c82c1335b3d7082088c7cdc3b29d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From 0456e24bfc7e0dc2fa3145fa199c2a2a097953c0 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);