[ChenLi Tien]
> > I don't think the (2,3,0) ifdef is necessary.  Just use the labeled
> > initializers for all kernels.  See also cm_audio_fops, cm_dsp_fops,
> > cm_midi_fops, cm_dmfm_fops.
> 
> Yes, as 2.3.x series is not for end-user, I can remove them. I keep it for
> easy to tell what's different for kernel 2.3 and 2.4.

What I meant was, the code which you have '#if version >= 2.3.0' is
also valid for 2.2.  You should not have any conditional code there
except the 'owner:' member, which is '#if version >= 2.4.0'.

> > No need for '#ifdef MODULE'.
> 
> I will remove it if kernel 2.2 can work.

It can.  I checked 2.2.0.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to