diff options
author | David Lechner <david@lechnology.com> | 2017-12-21 13:46:19 -0500 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2017-12-23 14:06:45 -0500 |
commit | e61a656fc06747901fed6cd0cb12484dc72896d8 (patch) | |
tree | a6edcaeab3a4e9b48fcd800269b98773002c3441 | |
parent | 0ee2e37a1fbaf5e9248227a266f3920042d078df (diff) |
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 <david@lechnology.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1513881979-13801-1-git-send-email-david@lechnology.com
-rw-r--r-- | drivers/gpu/drm/drm_panel_orientation_quirks.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/dmi.h> | 11 | #include <linux/dmi.h> |
12 | #include <linux/module.h> | ||
12 | #include <drm/drm_connector.h> | 13 | #include <drm/drm_connector.h> |
13 | 14 | ||
14 | #ifdef CONFIG_DMI | 15 | #ifdef CONFIG_DMI |
@@ -172,3 +173,5 @@ int drm_get_panel_orientation_quirk(int width, int height) | |||
172 | EXPORT_SYMBOL(drm_get_panel_orientation_quirk); | 173 | EXPORT_SYMBOL(drm_get_panel_orientation_quirk); |
173 | 174 | ||
174 | #endif | 175 | #endif |
176 | |||
177 | MODULE_LICENSE("Dual MIT/GPL"); | ||