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