Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e61a656f authored by David Lechner's avatar David Lechner Committed by Hans de Goede
Browse files

drm: fix tainted kernel caused by drm_panel_orientation_quirks.c



drm_panel_orientation_quirks.c introduced in commit 404d1a3e ("drm:
Add panel orientation quirks, v6.") taints the kernel when compiled as a
module. Fix this by adding MODULE_LICENSE().

Signed-off-by: default avatarDavid Lechner <david@lechnology.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1513881979-13801-1-git-send-email-david@lechnology.com
parent 0ee2e37a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 */

#include <linux/dmi.h>
#include <linux/module.h>
#include <drm/drm_connector.h>

#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");