brcm2708: update linux 4.4 patches to latest version
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0439-drm-mipi-dsi-Allow-to-build-drm-mipi-dsi-as-a-module.patch
1 From cee1a8a6610e7184a9df7975c67d7e64bb80ee27 Mon Sep 17 00:00:00 2001
2 From: Takashi Iwai <tiwai@suse.de>
3 Date: Tue, 2 Aug 2016 14:16:43 +0200
4 Subject: [PATCH] drm/mipi-dsi: Allow to build drm-mipi-dsi as a module
5
6 The drm-mipi-dsi driver has been only built-in although this isn't
7 strictly required to be so. Since it's referred by lots of DRM
8 drivers nowadays, most of distro kernels include the driver as
9 built-in as a result, even though many systems don't need it at all.
10
11 This patch fixes Kconfig to allow drm-mipi-dsi driver built as a
12 module, so that we can save footprint on systems without such DRM
13 drivers. The probe order is managed by the module dependency, and
14 postcore_initcall() works just fine as a module init call.
15
16 Signed-off-by: Takashi Iwai <tiwai@suse.de>
17 Signed-off-by: Eric Anholt <eric@anholt.net>
18 ---
19 drivers/gpu/drm/Kconfig | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22 --- a/drivers/gpu/drm/Kconfig
23 +++ b/drivers/gpu/drm/Kconfig
24 @@ -22,7 +22,7 @@ menuconfig DRM
25 (/dev/agpgart) support if it is available for your platform.
26
27 config DRM_MIPI_DSI
28 - bool
29 + tristate
30 depends on DRM
31
32 config DRM_KMS_HELPER