Driver build issue
David Lynch Jr.
dhlii at dlasys.net
Mon May 9 23:18:23 UTC 2011
I am working on porting a driver from 2.4 to 2.6 and I have encountered
what appears to be an ubuntu specific anomoly.
the ctl_table.proc_handler() and proc_dostring() functions do not
include the struct file *file arguments atleast not for
2.6.35-28-generic. According to lxr as best as I can tell these have
been part of those functions back to 2.2.
I can not use a LINUX_VERSION_CODE conditional to adjust for this.
How can I code this driver so that it will compile correctly for Ubuntu
AND other linux kernels ?
Thank You.
More information about the kernel-team
mailing list