Thanks Greg. I am trying to find the solution to this. Thanks for the leads.
--------------------------------------------------------------------------------------------------------
Are there any documentation on what the changes in the i2c modules are going
from 2.6.22 to 2.6.31.
The driver which compiles and runs on 2.6.22 returns the following errors
when compiled on 2.6.31.
I have included the correspondign lies from the code to clarify my
predicament. Due to the current urgency I am sticking to the old binding
method as the new method requires more indepth understanding. Are there ways
to get over the following messages?

error: unknown field ‘detach_client’ specified in initializer

device_create(lkmoz_class,NULL,lkomz_dev_number, LKOMZ_DEV_NAME)
=>error: too few arguments to function ‘device_create’

i2c_probe(adapter,&lkomz_addr_data,lkomz_attach)
=>error: implicit declaration of function ‘i2c_probe’

i2c_detach_client(client)
=>error: implicit declaration of function ‘i2c_detach_client’

make[1]: Leaving directory `/usr/src/kernels/linux-2.6.31'
make: *** [all] Error 2


Any help would be greatly appreciaetd.

Thanking you.

L Komz.



On Wed, Dec 9, 2009 at 12:12 PM, Greg KH <[email protected]> wrote:

> On Wed, Dec 09, 2009 at 10:40:05AM -0600, LKomz Komz wrote:
> > Are there any documentation on what the changes in the i2c modules are
> going
> > from 2.6.22 to 2.6.31.
>
> Yes, you have the exact number of specific changes that have happened
> between those two kernel versions, in the kernel source code itself.
> Please use that to determine what has changed, no other type of
> documentation would be as complete :)
>
> Also note, that between those two versions, a few hundred thousand
> kernel changes have happened, which is not insubstancial.
>
> Good luck,
>
> greg k-h
>

Reply via email to