aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-07 01:17:55 -0400
committerDavid S. Miller <davem@davemloft.net>2013-09-05 15:21:30 -0400
commit64110c16e012547d5c9ab71f8afd3bab025f1103 (patch)
treecb7eea20661a9974d2e972cac7ed3d8535119323 /drivers/ide
parent70ddce832a964f5fc570b585a18d301a8ee59790 (diff)
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 <jg1.han@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/sgiioc4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/sgiioc4.c b/drivers/ide/sgiioc4.c
index a5ca179a83b3..63761db61384 100644
--- a/drivers/ide/sgiioc4.c
+++ b/drivers/ide/sgiioc4.c
@@ -600,7 +600,7 @@ out:
600 return ret; 600 return ret;
601} 601}
602 602
603int ioc4_ide_attach_one(struct ioc4_driver_data *idd) 603static int ioc4_ide_attach_one(struct ioc4_driver_data *idd)
604{ 604{
605 /* 605 /*
606 * PCI-RT does not bring out IDE connection. 606 * PCI-RT does not bring out IDE connection.