ide: sgiioc4: Staticize ioc4_ide_attach_one()
PATCH 2/2 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 Jingoo Han <[email protected]>
--- drivers/ide/sgiioc4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ide/sgiioc4.c +1 -1
@@ -600,7 +600,7 @@ out: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.
Signature · 1 line
1.7.10.4
David Miller
AppliedFrom: Jingoo Han <[email protected]>
Date: Wed, 07 Aug 2013 14:17:55 +0900
Quoted 6 lines
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 Jingoo Han <[email protected]>
Applied.