diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-02-07 11:28:20 -0500 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-07-10 01:47:12 -0400 |
commit | 4937a269cb063915d50e47c68493679b7fe0ffb7 (patch) | |
tree | f84f0cae249651ade2ebd47c37475ea1ead0780f /drivers/block/xsysace.c | |
parent | 40c2702a02b755e0183b702778331b351f3be20c (diff) |
xilinx systemace: Fix sparse warnings
Fix sysace sparse warnings.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/block/xsysace.c')
-rw-r--r-- | drivers/block/xsysace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c index 3fd130fdfbc1..1393b8871a28 100644 --- a/drivers/block/xsysace.c +++ b/drivers/block/xsysace.c | |||
@@ -407,7 +407,7 @@ static void ace_dump_regs(struct ace_device *ace) | |||
407 | ace_in32(ace, ACE_CFGLBA), ace_in(ace, ACE_FATSTAT)); | 407 | ace_in32(ace, ACE_CFGLBA), ace_in(ace, ACE_FATSTAT)); |
408 | } | 408 | } |
409 | 409 | ||
410 | void ace_fix_driveid(u16 *id) | 410 | static void ace_fix_driveid(u16 *id) |
411 | { | 411 | { |
412 | #if defined(__BIG_ENDIAN) | 412 | #if defined(__BIG_ENDIAN) |
413 | int i; | 413 | int i; |
@@ -463,7 +463,7 @@ static inline void ace_fsm_yieldirq(struct ace_device *ace) | |||
463 | } | 463 | } |
464 | 464 | ||
465 | /* Get the next read/write request; ending requests that we don't handle */ | 465 | /* Get the next read/write request; ending requests that we don't handle */ |
466 | struct request *ace_get_next_request(struct request_queue * q) | 466 | static struct request *ace_get_next_request(struct request_queue *q) |
467 | { | 467 | { |
468 | struct request *req; | 468 | struct request *req; |
469 | 469 | ||