Skip to contentSkip to conversation

ide: sgiioc4: Staticize ioc4_ide_attach_one()

PATCH Applied Jingoo Han 2 participants 2 messages Aug 7, 2013 – Sep 5, 2013 libata

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

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?

---
 drivers/ide/sgiioc4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ide/sgiioc4.c +1 -1
index a5ca179a..63761db 100644
@@ -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
Applied
#1 lore raw

From: 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?

Applied.