use #ifdef MODULE_LICENSE/#endif to compile with kernel 2.4.5 (and maybe

others)
This commit is contained in:
Brian Paul 2001-11-01 19:24:14 +00:00
parent 7d829fda11
commit bf88ed5817
2 changed files with 4 additions and 0 deletions

View file

@ -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 )
{

View file

@ -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 )
{