Skip to content

Commit

Permalink
xilinx systemace: Fix sparse warnings
Browse files Browse the repository at this point in the history
Fix sysace sparse warnings.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
Michal Simek committed Jul 10, 2013
1 parent 40c2702 commit 4937a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/block/xsysace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 4937a26

Please sign in to comment.