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