[PATCH 2/3] mark unused/obsolete code in bulkmem.c

David Hinds dhinds at sonic.net
Thu Mar 25 08:17:25 GMT 2004


On Thu, Mar 25, 2004 at 01:25:04PM +0100, Dominik Brodowski wrote:
> Most of bulkmem.c is unused. Mark it PCMCIA_OBSOLETE, and move the 
> corresponding EXPORT_SYMBOL calls closer to the functions.

The pcmcia_get_window() function should never have been exported in
the first place; you can make that static in all cases.

As for the rest... the bulkmem services are/were only ever used by the
"linear flash" memory card drivers in the pcmcia-cs package.  I had
not imported these drivers into the kernel tree because at the time
I'd thought that there could be a unification of the MTD code with the
current kernel MTD support (which was partly derived from the
pcmcia-cs MTD code), but I never had time to do it.

-- Dave



More information about the linux-pcmcia mailing list