[2.5] i_rdev structure (why has it changed?)

Chase Venters (chase.venters@attbi.com)
Sat, 02 Mar 2002 04:12:52 -0600


I've noticed when compiling 2.5.2 that certain modules (such as
via82cxxx_audio) do not want to compile. After a few hours of digging, I
noticed that it seems as if the method for dealing with i_rdev has
changed. I eventually got my code to compile (and, as a matter of fact,
ALSA and NVIDIA's driver) by amending all instances of i_rdev to
i_rdev.value, but I'll be the first to admit that's my first "kernel
patch" (is it worthy of such a name?) and though the modifications seem
to produce a flawlessly working kernel I'm still tinkering with cogs in
a giant machine.

That said, if my modification is not an example of human stupidity in
action, I'd like to notify those reading that if you have any similar
places that must be cleaned, I've crafted a simple perl script to patch
sources accordingly.

http://tucb.com/chase/fix-i_rdev.html

Commentary is appreciated. But more importantly - why did this change?

(Please CC all replies to this message to chase.venters@attbi.com as I
am not yet a member of this mailing list [hides in corner])

Thanks,
Chase Venters

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/