Re: [PATCH 2/2] drivers: ata: Mark the function as static inlibahci.c

From: Tejun Heo
Date: Sat Dec 14 2013 - 16:23:20 EST


On Sat, Dec 14, 2013 at 07:40:21PM +0530, Rashika Kheria wrote:
> This patch marks the function ahci_port_intr() and
> ahci_hw_port_interrupt() as static in libahci.c because they are not
> used outside this file.
>
> Thus, it also eliminates the following warnings in libahci.c:
> drivers/ata/libahci.c:1767:6: warning: no previous prototype for âahci_port_intrâ [-Wmissing-prototypes]
> drivers/ata/libahci.c:1800:6: warning: no previous prototype for âahci_hw_port_interruptâ [-Wmissing-prototypes]
>
> Signed-off-by: Rashika Kheria <rashika.kheria@xxxxxxxxx>

Applied 1-2 to libata/for-3.14.

Thanks.

--
tejun
--
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/