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: Rashika Kheria <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
This commit is contained in:
Rashika Kheria 2013-12-14 19:38:08 +05:30 • committed by Tejun Heo
commit d934145139

View file

@ -1145,7 +1145,7 @@ static inline void ahci_gtf_filter_workaround(struct ata_host *host)
{}
#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;
unsigned int maxvec;