From 05fb3e93f2f99a1ace1444c8f0669067f553504b Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Fri, 2 Nov 2001 17:40:11 +0000 Subject: wrap the MODULE_LICENSE definition. --- linux-core/drm_drv.c | 2 ++ linux/drm_drv.h | 2 ++ 2 files changed, 4 insertions(+) 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 ) { -- cgit v1.2.3