Re: [PATCH] ata: pata_ns87415: mark ns87560_tf_read static

From: Sergey Shtylyov
Date: Wed Jul 26 2023 - 13:00:59 EST


On 7/26/23 6:10 PM, Arnd Bergmann wrote:

> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The global function triggers a warning because of the missing prototype
>
> drivers/parport/parport_gsc.c: At top level:
> drivers/parport/parport_gsc.c:415:5: warning: no previous prototype for 'parport_gsc_init' [-Wmissing-prototypes]

Wrong pasting? :-)

> There are no other references to this, so just make it static.
>
> Fixes: c4b5b7b6c4423 ("pata_ns87415: Initial cut at 87415/87560 IDE support")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

With the messages fixed:

Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx>

[...]

MBR, Sergey