changeset 138:45b4afa656d2

adapted to kernel 3.8.0
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 25 Apr 2013 15:08:34 +0900
parents 62aa473fc295
children 61ff9cabf962
files driver/pt1_pci.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/driver/pt1_pci.c	Thu Apr 25 15:08:32 2013 +0900
+++ b/driver/pt1_pci.c	Thu Apr 25 15:08:34 2013 +0900
@@ -44,6 +44,13 @@
 #include	"pt1_tuner_data.h"
 #include	"pt1_ioctl.h"
 
+#if LINUX_VERSION_CODE > KERNEL_VERSION(3,8,0)
+#define __devinit
+#define __devinitdata
+#define __devexit
+#define __devexit_p
+#endif
+
 /* These identify the driver base version and may not be removed. */
 static char version[] __devinitdata =
 DRV_NAME ".c: " DRV_VERSION " " DRV_RELDATE " \n";