diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-07 14:17:55 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-05 15:21:30 -0400 |
commit | 64110c16e012547d5c9ab71f8afd3bab025f1103 (patch) | |
tree | cb7eea20661a9974d2e972cac7ed3d8535119323 /drivers/ide | |
parent | 70ddce832a964f5fc570b585a18d301a8ee59790 (diff) | |
download | op-kernel-dev-64110c16e012547d5c9ab71f8afd3bab025f1103.zip op-kernel-dev-64110c16e012547d5c9ab71f8afd3bab025f1103.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/sgiioc4.c b/drivers/ide/sgiioc4.c index a5ca179a..63761db 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. |