提交 4937a269 编写于 作者: M Michal Simek

xilinx systemace: Fix sparse warnings

Fix sysace sparse warnings.
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 40c2702a
...@@ -407,7 +407,7 @@ static void ace_dump_regs(struct ace_device *ace) ...@@ -407,7 +407,7 @@ static void ace_dump_regs(struct ace_device *ace)
ace_in32(ace, ACE_CFGLBA), ace_in(ace, ACE_FATSTAT)); 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) #if defined(__BIG_ENDIAN)
int i; int i;
...@@ -463,7 +463,7 @@ static inline void ace_fsm_yieldirq(struct ace_device *ace) ...@@ -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 */ /* 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; struct request *req;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册