xilinx systemace: Fix sparse warnings
authorMichal Simek <michal.simek@xilinx.com>
Thu, 7 Feb 2013 16:28:20 +0000 (17:28 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 10 Jul 2013 05:47:12 +0000 (07:47 +0200)
Fix sysace sparse warnings.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/block/xsysace.c

index 3fd130fdfbc1f742aa706ea96aa5d20361d05d37..1393b8871a281a82ef4e613fc096ce4f0e933cfa 100644 (file)
@@ -407,7 +407,7 @@ static void ace_dump_regs(struct ace_device *ace)
                 ace_in32(ace, ACE_CFGLBA), ace_in(ace, ACE_FATSTAT));
 }
 
-void ace_fix_driveid(u16 *id)
+static void ace_fix_driveid(u16 *id)
 {
 #if defined(__BIG_ENDIAN)
        int i;
@@ -463,7 +463,7 @@ static inline void ace_fsm_yieldirq(struct ace_device *ace)
 }
 
 /* Get the next read/write request; ending requests that we don't handle */
-struct request *ace_get_next_request(struct request_queue * q)
+static struct request *ace_get_next_request(struct request_queue *q)
 {
        struct request *req;