Mercurial > pt1
diff driver/pt1_tuner.c @ 131:2dc994610477
kernel 3.4.x no longer has asm/system.h
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 27 Jun 2012 06:42:55 +0900 |
parents | 6e661e828b43 |
children | 1e7718cc2556 |
line wrap: on
line diff
--- a/driver/pt1_tuner.c Tue Mar 20 00:54:35 2012 +0900 +++ b/driver/pt1_tuner.c Wed Jun 27 06:42:55 2012 +0900 @@ -7,8 +7,11 @@ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/mutex.h> +#include <linux/version.h> +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0) #include <asm/system.h> +#endif #include <asm/io.h> #include <asm/irq.h> #include <asm/uaccess.h>