Fix warning for 2.4 and MODUL_LICENSE

This commit is contained in:
Karsten Keil 2002-02-24 00:00:37 +00:00
parent 0f2f24e057
commit 1e4bcc5d8e
1 changed files with 7 additions and 0 deletions

View File

@ -43,7 +43,11 @@ rcsid[] = "$Id$";
#include <linux/ptrace.h>
#include <linux/ioport.h>
#include <linux/in.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,15)
#include <linux/malloc.h>
#else
#include <linux/slab.h>
#endif
#include <linux/tty.h>
#include <linux/errno.h>
#include <linux/sched.h> /* to get the struct task_struct */
@ -149,6 +153,9 @@ MODULE_DESCRIPTION("LZS Compression for I4L sync PPP");
MODULE_PARM(debug, "i");
MODULE_PARM(comp, "i");
MODULE_PARM(tweak, "i");
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,11)
MODULE_LICENSE("GPL");
#endif
/*
* I _have_ read Documentation/CodingStyle. I ignored the section about