- From: Calin A. Culianu <calin_at_ajvar.org>
- Date: Wed, 14 Aug 2002 11:56:53 -0400 (EDT)
I don't understand how seeing include/linux/module.h solves the problem...? I see module.h. I also see that in the officially-supported-rtlinux-linux-kernel (2.4.4) module.h does not define MODULE_LICENSE. Ergo, I would like an ifdef around my MODULE_LICENSE call in my driver file, hence the email message I sent to the list :). I would do it myself but I lack cvs access... :( -Calin On Tue, 13 Aug 2002, David Schleef wrote: > On Tue, Aug 13, 2002 at 03:09:09PM -0400, Calin A. Culianu wrote: > > > > I noticed that I have a little MODULE_LICENSE call in the cb_pcimdda.c > > driver that I wrote. I realize now that MODULE_LICENSE isn't defined in > > all linux kernels, and thus my file will break when compiling against an > > older kernel. I suppose I should insert an #ifdef MODULE_LICENSE ... > > #endif around that macro call, but I don't have cvs access. Anyone care > > to update the file in cvs? :) > > See include/linux/module.h. > > > > dave... >
Received on 2002-08-14Z14:56:53