]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/tscan1.c
Changed kernel version to switch to new module parameters made consistent with value...
[lincan.git] / lincan / src / tscan1.c
index a48a93edef252b9d4eefb80912ff3620a5606fe1..e79909794edabfa292c32d21fddf50632d5f4b92 100644 (file)
@@ -35,13 +35,13 @@ int tsxxx_base=TS7XXX_IO8_BASE;
 unsigned long tsxxx_base=0;
 #endif /*TS7XXX_IO8_BASE*/
 
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12))
 MODULE_PARM(tscanio, "1-" __MODULE_STRING(MAX_HW_CARDS)"i");
 MODULE_PARM(tsxxx_base, "1i");
-#else /* LINUX_VERSION_CODE >= 2,6,0 */
+#else /* LINUX_VERSION_CODE >= 2,6,12 */
 module_param_array(tscanio, int, &tscanio_specified, 0);
 module_param(tsxxx_base, ulong, 0);
-#endif /* LINUX_VERSION_CODE >= 2,6,0 */
+#endif /* LINUX_VERSION_CODE >= 2,6,12 */
 
 MODULE_PARM_DESC(tscanio,"TSCAN CAN controller IO address for each board");
 MODULE_PARM_DESC(tsxxx_base,"The base of the ISA/8-bit IO space for TSxxx CAN peripherals in the system");