Mercurial > pt1
comparison driver/pt1_pci.c @ 138:45b4afa656d2
adapted to kernel 3.8.0
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 25 Apr 2013 15:08:34 +0900 |
parents | 2dc994610477 |
children | 1e7718cc2556 |
comparison
equal
deleted
inserted
replaced
137:62aa473fc295 | 138:45b4afa656d2 |
---|---|
41 #include "pt1_pci.h" | 41 #include "pt1_pci.h" |
42 #include "pt1_tuner.h" | 42 #include "pt1_tuner.h" |
43 #include "pt1_i2c.h" | 43 #include "pt1_i2c.h" |
44 #include "pt1_tuner_data.h" | 44 #include "pt1_tuner_data.h" |
45 #include "pt1_ioctl.h" | 45 #include "pt1_ioctl.h" |
46 | |
47 #if LINUX_VERSION_CODE > KERNEL_VERSION(3,8,0) | |
48 #define __devinit | |
49 #define __devinitdata | |
50 #define __devexit | |
51 #define __devexit_p | |
52 #endif | |
46 | 53 |
47 /* These identify the driver base version and may not be removed. */ | 54 /* These identify the driver base version and may not be removed. */ |
48 static char version[] __devinitdata = | 55 static char version[] __devinitdata = |
49 DRV_NAME ".c: " DRV_VERSION " " DRV_RELDATE " \n"; | 56 DRV_NAME ".c: " DRV_VERSION " " DRV_RELDATE " \n"; |
50 | 57 |