projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ee2e37
)
drm: fix tainted kernel caused by drm_panel_orientation_quirks.c
author
David Lechner
<
[email protected]
>
Thu, 21 Dec 2017 18:46:19 +0000
(12:46 -0600)
committer
Hans de Goede
<
[email protected]
>
Sat, 23 Dec 2017 19:06:45 +0000
(20:06 +0100)
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 <
[email protected]
>
Reviewed-by: Hans de Goede <
[email protected]
>
Signed-off-by: Hans de Goede <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/drm_panel_orientation_quirks.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_panel_orientation_quirks.c
b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index 901a4e9a87a3c9b08d8750e3a807e47f52d54295..1f2af707ce03e9670fec85a779404f70fcf29585 100644
(file)
--- a/
drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/
drivers/gpu/drm/drm_panel_orientation_quirks.c
@@
-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");