提交 64110c16 编写于 作者: J Jingoo Han 提交者: David S. Miller

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: NJingoo Han <jg1.han@samsung.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 70ddce83
......@@ -600,7 +600,7 @@ static unsigned int pci_init_sgiioc4(struct pci_dev *dev)
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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册