use
LINUX_VERSION_CODE
ex:
====
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
Home »Unlabelled » how to make a conditional based on kernel version ?
LINUX_VERSION_CODE
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
© 2010 Blog warxdoyo - All Rights Reserved
2012