Re: [Linux-parport] [2.6 patch] drivers/parport/share.: unexport parport_get_port

Adam Baker
2006-04-19T20:03:31Z

On Tuesday 18 April 2006 23:07, Adrian Bunk wrote:
> This patch removes the unused EXPORT_SYMBOL(parport_get_port).
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>

It may be unused by any drivers that ship with the kernel but it is used by
the ppscsi patch to support SCSI over parallel port devices. This export was
removed in 2.6.10 and put back in in 2.6.16 so someone else obviously thinks
it should be exported.

> ---
>
> This patch was already sent on:
> - 5 Apr 2006
>
> --- linux-2.6.17-rc1-mm1-full/drivers/parport/share.c.old 2006-04-05
> 17:12:05.000000000 +0200 +++
> linux-2.6.17-rc1-mm1-full/drivers/parport/share.c 2006-04-05
> 17:12:42.000000000 +0200 @@ -1003,7 +1003,6 @@
> EXPORT_SYMBOL(parport_unregister_driver);
> EXPORT_SYMBOL(parport_register_device);
> EXPORT_SYMBOL(parport_unregister_device);
> -EXPORT_SYMBOL(parport_get_port);
> EXPORT_SYMBOL(parport_put_port);
> EXPORT_SYMBOL(parport_find_number);
> EXPORT_SYMBOL(parport_find_base);
>