summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-02-07 16:28:20 (GMT)
committerMichal Simek <michal.simek@xilinx.com>2013-07-10 05:47:12 (GMT)
commit4937a269cb063915d50e47c68493679b7fe0ffb7 (patch)
treef84f0cae249651ade2ebd47c37475ea1ead0780f
parent40c2702a02b755e0183b702778331b351f3be20c (diff)
downloadlinux-4937a269cb063915d50e47c68493679b7fe0ffb7.tar.xz
xilinx systemace: Fix sparse warnings
Fix sysace sparse warnings. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--drivers/block/xsysace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c
index 3fd130f..1393b88 100644
--- a/drivers/block/xsysace.c
+++ b/drivers/block/xsysace.c
@@ -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;