summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-07 07:17:55 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-05 21:21:30 +0200
commit64110c16e012547d5c9ab71f8afd3bab025f1103 (patch)
treecb7eea20661a9974d2e972cac7ed3d8535119323 /drivers/ide
parentide: palm_bk3710: add missing __iomem annotation (diff)
downloadlinux-64110c16e012547d5c9ab71f8afd3bab025f1103.tar.xz
linux-64110c16e012547d5c9ab71f8afd3bab025f1103.zip
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.