Message ID | 002c01ce932d$791b80a0$6b5281e0$@samsung.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
From: Jingoo Han <jg1.han@samsung.com> Date: Wed, 07 Aug 2013 14:17:55 +0900 > 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> Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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.
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> --- drivers/ide/sgiioc4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)