ide: sgiioc4: Staticize ioc4_ide_attach_one()
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 Aug 2013 05:17:55 +0000 (14:17 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2013 19:21:30 +0000 (15:21 -0400)
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>
drivers/ide/sgiioc4.c

index a5ca179a83b35419e3f0f8afd8b6e17629fbcda8..63761db61384ec5d681f7629ba36c61b4e2805c8 100644 (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.