RE: How to compile module params into kernel?

From: Joakim Tjernlund
Date: Wed Nov 08 2006 - 15:03:05 EST


> -----Original Message-----
> From: Jesper Juhl [mailto:jesper.juhl@xxxxxxxxx]
>
> On 08/11/06, Joakim Tjernlund <joakim.tjernlund@xxxxxxxxxxxx> wrote:
> > Instead of passing a module param on the cmdline I want to
> compile that
> > into
> > the kernel, but I can't figure out how.
> >
> > The module param I want compile into kernel is
> > rtc-ds1307.force=0,0x68
> >
> > This is for an embeddet target that doesn't have loadable module
> > support.
> >
> You could edit the module source and hardcode default values.
>

Yes, but I don't want to do that since it makes maintance
harder.

Jocke

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