Commit 64110c16 authored by Jingoo Han's avatar Jingoo Han Committed by David S. Miller

ide: sgiioc4: Staticize ioc4_ide_attach_one()

ioc4_ide_attach_one() is used only in this file.
Fix the following sparse warnings:

drivers/ide/sgiioc4.c:603:5: warning: symbol 'ioc4_ide_attach_one' was not declared. Should it be static?
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 70ddce83
...@@ -600,7 +600,7 @@ static unsigned int pci_init_sgiioc4(struct pci_dev *dev) ...@@ -600,7 +600,7 @@ static unsigned int pci_init_sgiioc4(struct pci_dev *dev)
return ret; return ret;
} }
int ioc4_ide_attach_one(struct ioc4_driver_data *idd) static int ioc4_ide_attach_one(struct ioc4_driver_data *idd)
{ {
/* /*
* PCI-RT does not bring out IDE connection. * PCI-RT does not bring out IDE connection.
......
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