Re: 2.3.25 parport_pc_ops and pcmcia-cs-3.1.4 pre-release

Tim Waugh (twaugh@redhat.com)
Fri, 5 Nov 1999 14:27:38 +0000 (GMT)


On Fri, 5 Nov 1999, Bob_Tracy wrote:

> In 2.3.25 with the latest (as of yesterday) pre-release version of the
> pcmcia-cs-3.1.4 package, there needs to be an
> "EXPORT_SYMBOL(parport_pc_ops);" somewhere to avoid an undefined symbol
> error for the parport_cs.o module. The quick and dirty fix is to add
> the EXPORT_SYMBOL() to linux/drivers/parport/parport_pc.c after the
> structure declaration, but I suspect that isn't the preferred place.

Why does parport_cs need that symbol? (I think there is a good reason,
since parport_pc_ops isn't static, but I can't think what it is off-hand.)

It needs to call the probe routine, but that returns a struct parport *,
which has an 'ops' pointer (which points to the right thing).

Tim.
*/

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