comparison driver/pt1_i2c.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 b8032e8099de
children 1e7718cc2556
comparison
equal deleted inserted replaced
129:d49174955c7f 131:2dc994610477
7 #include <linux/pci.h> 7 #include <linux/pci.h>
8 #include <linux/init.h> 8 #include <linux/init.h>
9 #include <linux/interrupt.h> 9 #include <linux/interrupt.h>
10 #include <linux/mutex.h> 10 #include <linux/mutex.h>
11 #include <linux/sched.h> 11 #include <linux/sched.h>
12 12 #include <linux/version.h>
13
14 #if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0)
13 #include <asm/system.h> 15 #include <asm/system.h>
16 #endif
14 #include <asm/io.h> 17 #include <asm/io.h>
15 #include <asm/irq.h> 18 #include <asm/irq.h>
16 #include <asm/uaccess.h> 19 #include <asm/uaccess.h>
17 20
18 #include "pt1_com.h" 21 #include "pt1_com.h"