From: David Lechner Date: Thu, 21 Dec 2017 18:46:19 +0000 (-0600) Subject: drm: fix tainted kernel caused by drm_panel_orientation_quirks.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e61a656fc06747901fed6cd0cb12484dc72896d8;p=openwrt%2Fstaging%2Fblogic.git drm: fix tainted kernel caused by drm_panel_orientation_quirks.c drm_panel_orientation_quirks.c introduced in commit 404d1a3edc38 ("drm: Add panel orientation quirks, v6.") taints the kernel when compiled as a module. Fix this by adding MODULE_LICENSE(). Signed-off-by: David Lechner Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede Link: https://patchwork.freedesktop.org/patch/msgid/1513881979-13801-1-git-send-email-david@lechnology.com --- diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index 901a4e9a87a3..1f2af707ce03 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -9,6 +9,7 @@ */ #include +#include #include #ifdef CONFIG_DMI @@ -172,3 +173,5 @@ int drm_get_panel_orientation_quirk(int width, int height) EXPORT_SYMBOL(drm_get_panel_orientation_quirk); #endif + +MODULE_LICENSE("Dual MIT/GPL");