Mercurial > pt1
diff driver/pt1_tuner_data.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 | 3914cc1b2375 |
children | 62aa473fc295 |
line wrap: on
line diff
--- a/driver/pt1_tuner_data.c Tue Mar 20 00:54:35 2012 +0900 +++ b/driver/pt1_tuner_data.c Wed Jun 27 06:42:55 2012 +0900 @@ -5,8 +5,11 @@ #include <linux/pci.h> #include <linux/init.h> #include <linux/interrupt.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>