提交 fb7ccc9e 编写于 作者: J James Ketrenos

Fixed problem with get_cmd_string not existing if CONFIG_IPW_DEBUG disabled.

Signed-off-by: NJames Ketrenos <jketreno@linux.intel.com>
上级 cdd1fa1e
......@@ -1809,7 +1809,6 @@ static void ipw_irq_tasklet(struct ipw_priv *priv)
spin_unlock_irqrestore(&priv->lock, flags);
}
#ifdef CONFIG_IPW_DEBUG
#define IPW_CMD(x) case IPW_CMD_ ## x : return #x
static char *get_cmd_string(u8 cmd)
{
......@@ -1868,7 +1867,6 @@ static char *get_cmd_string(u8 cmd)
return "UNKNOWN";
}
}
#endif
#define HOST_COMPLETE_TIMEOUT HZ
static int ipw_send_cmd(struct ipw_priv *priv, struct host_cmd *cmd)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册