]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers: ata: Mark the function as static in libahci.c
authorRashika Kheria <rashika.kheria@gmail.com>
Sat, 14 Dec 2013 14:10:21 +0000 (19:40 +0530)
committerTejun Heo <tj@kernel.org>
Sat, 14 Dec 2013 21:21:42 +0000 (16:21 -0500)
commit73993396d8591580f03fe0ee9c6cc5ea8fa09928
tree5a996a9f11019689dd5a3ba6f518567345f2c974
parentd934145139664daa1ae918d3f0a7f3f47225ff33
drivers: ata: Mark the function as static in libahci.c

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@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
drivers/ata/libahci.c