1
0
Fork 0

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>
hifive-unleashed-5.1
Jingoo Han 2013-08-07 14:17:55 +09:00 committed by David S. Miller
parent 70ddce832a
commit 64110c16e0
1 changed files with 1 additions and 1 deletions

View File

@ -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.