Skip to contentSkip to conversation

Error in keywest patch

DISCUSSION Manfred Tremmel 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I'm compiling a new kernel on my PowerBook. I had a problem compiling the sounddriver after patching i2c. I've found the installation-guide and the patch to solve this:
linux-2.4.22-i2c-2.8.0-drivers-i2c-i2c-keywest.c.diff

But this patch is buggy! This line is added:

		chan->adapter.name = THIS_MODULE;

this can not work, please replace it with

		chan->adapter.owner = THIS_MODULE;

thanks for your great work.

Signature · 3 lines
Machs gut    | http://www.iivs.de/schwinde/buerger/tremmel/
             | http://packman.links2linux.de/
Manfred      | http://www.knightsoft-net.de
#1 lore raw
Quoted 5 lines

I'm compiling a new kernel on my PowerBook. I had a problem compiling the sounddriver after patching i2c. I've found the installation-guide and the patch to solve this:
linux-2.4.22-i2c-2.8.0-drivers-i2c-i2c-keywest.c.diff

Yes, we even had a new item on our main page that mentions this.

Quoted 7 lines

But this patch is buggy! This line is added:

		chan->adapter.name = THIS_MODULE;

this can not work, please replace it with

		chan->adapter.owner = THIS_MODULE;

You're perfectly right, my mistake. I have been converting a dozen drivers in a row and obviously bugged that one. It's now fixed.

Quoted 1 line

thanks for your great work.

And thanks a lot for reporting.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/