Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64110c16 authored by Jingoo Han's avatar Jingoo Han Committed by David S. Miller
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 70ddce83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.