Mercurial > pt1
diff driver/pt1_pci.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 | f2ae5ddeed7e |
children | 45b4afa656d2 |
line wrap: on
line diff
--- a/driver/pt1_pci.c Tue Mar 20 00:54:35 2012 +0900 +++ b/driver/pt1_pci.c Wed Jun 27 06:42:55 2012 +0900 @@ -9,13 +9,16 @@ #include <linux/pci.h> #include <linux/init.h> #include <linux/interrupt.h> +#include <linux/version.h> +#include <linux/mutex.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> -#include <linux/version.h> -#include <linux/mutex.h> + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23) #include <linux/freezer.h> #else