From: Jingoo Han Date: Wed, 7 Aug 2013 05:17:55 +0000 (+0900) Subject: ide: sgiioc4: Staticize ioc4_ide_attach_one() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=64110c16e012547d5c9ab71f8afd3bab025f1103;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: David S. Miller --- 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.