Andy Ngo wrote:
Hi Kevin / Chris / everyone,

I just finished porting our old kernel (2.6.20-omap1) to the latest GIT kernel (2.6.26-davinci1). I'm now trying to rebuild cmemk.ko and dsplinkk.ko to work with the new
kernel.  I'm still using the old dvevm version (1.10) which uses cmem
1.01 and dsplink 1.30.08.02.  In rebuilding cmem, I getting the errors
below.  Last year I remembered I had to use Kevin's patches when we
went from 2.6.10 to 2.6.20-omap1
(changing class_simple_create to class_create, class_simple_device_add
to class_device_create, etc).  It seems like I'm running into the same
problem trying to move to the latest GIT kernel (now
class_device_create, class_device_destroy need to change to the
equivalent in the new kernel).

class_create and friends got deprecated in 2.6.26.

Try changing class_device_create and class_device_destroy to just device_create and device_destroy instead. That should be all you need.

I haven't done it myself though, so let us know if it works for you :)

Cheers,
Bernard.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to