summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-07 14:17:55 +0900
committerDavid S. Miller <davem@davemloft.net>2013-09-05 15:21:30 -0400
commit64110c16e012547d5c9ab71f8afd3bab025f1103 (patch)
treecb7eea20661a9974d2e972cac7ed3d8535119323 /drivers/ide
parent70ddce832a964f5fc570b585a18d301a8ee59790 (diff)
downloadlinux-64110c16e012547d5c9ab71f8afd3bab025f1103.tar.bz2
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:
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.