[zd1211-devs] compile error: zdusb.c
Status: Beta
Brought to you by:
mayne
From: eric m. <eri...@gm...> - 2006-02-23 05:12:13
|
Kernel version 2.6.15 has already remove reference to "usb_driver.owner". Below is the needed change to compile correctly. diff -Nur new/zdusb.c zd1211-driver-r59/src/zdusb.c --- new/zdusb.c 2006-02-18 14:02:10.000000000 -0500 +++ zd1211-driver-r59/src/zdusb.c 2006-02-18 06:27:11.000000000 -0500 @@ -401,8 +401,8 @@ static struct usb_driver zd1211_driver = { -/* ath_desc: usb_driver.owner is gone in Linux 2.6.15 */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)) +/* ath_desc: usb_driver.owner is gone in Linux 2.6.16 */ +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)) .owner = THIS_MODULE, #endif .name = driver_name, |