Commit d9341451 authored by Rashika Kheria's avatar Rashika Kheria Committed by Tejun Heo

drivers: ata: Mark the function ahci_init_interrupts() as static in ahci.c

This patch marks the function ahci_init_interrupts() as static in ahci.c
because it is not used outside this file.

Thus, it also eliminates the following warning in ahci.c:
drivers/ata/ahci.c:1099:5: warning: no previous prototype for ‘ahci_init_interrupts’ [-Wmissing-prototypes]
Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent 7d6203af
...@@ -1145,7 +1145,7 @@ static inline void ahci_gtf_filter_workaround(struct ata_host *host) ...@@ -1145,7 +1145,7 @@ static inline void ahci_gtf_filter_workaround(struct ata_host *host)
{} {}
#endif #endif
int ahci_init_interrupts(struct pci_dev *pdev, struct ahci_host_priv *hpriv) static int ahci_init_interrupts(struct pci_dev *pdev, struct ahci_host_priv *hpriv)
{ {
int rc; int rc;
unsigned int maxvec; unsigned int maxvec;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment