summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index 61c6cdd2..bf8d76b8 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -220,7 +220,9 @@ static char *drm_opts = NULL;
MODULE_AUTHOR( DRIVER_AUTHOR );
MODULE_DESCRIPTION( DRIVER_DESC );
MODULE_PARM( drm_opts, "s" );
+#ifdef MODULE_LICENSE
MODULE_LICENSE("GPL and additional rights");
+#endif
static int DRM(setup)( drm_device_t *dev )
{