
Originally Posted by
leigh123linux
This patch didn't work for me. Why, I don't know. I'm x86, and you're x64. Perhaps that's a difference.
For reference, my kernel is: 2.6.31-0.17.rc0.git15.fc12.i686.PAE
Here's my patch that works for me. If you pay close attention, you'll see I've just removed the change in the original patch that was done to os-agp.c. Perhaps this change only happens with a newer version of the kernel. But yum update hasn't pulled it in yet.
Oh well, this works for me... YMMV 
Code:
--- usr/src/nv/nv-i2c.c.orig 2009-06-22 16:21:57.000000000 +0200
+++ usr/src/nv/nv-i2c.c 2009-06-22 16:24:12.000000000 +0200
@@ -218,8 +218,6 @@
#if defined(NV_I2C_ADAPTER_HAS_DEC_USE)
.dec_use = nv_i2c_adapter_dec_use,
#endif
- .client_register = nv_i2c_adapter_register_client,
- .client_unregister = nv_i2c_adapter_unregister_client,
.data = NULL,
};
@@ -241,8 +239,6 @@
.owner = THIS_MODULE,
.algo = &nv_i2c_algo,
.algo_data = NULL,
- .client_register = nv_i2c_adapter_register_client,
- .client_unregister = nv_i2c_adapter_unregister_client,
};
#endif // defined(KERNEL_2_4)