summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2001-11-02 17:40:11 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2001-11-02 17:40:11 +0000
commit05fb3e93f2f99a1ace1444c8f0669067f553504b (patch)
tree6b5dc79a2cdae990ee6230542b86e359863eb650
parent92ad1b60e109170e1fa7d22a4627efa7fa77aa71 (diff)
wrap the MODULE_LICENSE definition.
-rw-r--r--linux-core/drm_drv.c2
-rw-r--r--linux/drm_drv.h2
2 files changed, 4 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 )
{
diff --git a/linux/drm_drv.h b/linux/drm_drv.h
index 61c6cdd2..bf8d76b8 100644
--- a/linux/drm_drv.h
+++ b/linux/drm_drv.h
@@ -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 )
{