提交 a608e679 编写于 作者: J Jakub Kicinski 提交者: David S. Miller

ipw2200: constify address in ipw_send_adapter_address

Add const to the address param of ipw_send_adapter_address()
all the functions down the chain have already been changed.

Not sure how I lost this in the rebase.
Acked-by: NKalle Valo <kvalo@codeaurora.org>
Signed-off-by: NJakub Kicinski <kuba@kernel.org>
Acked-by: NStanislav Yakovlev <stas.yakovlev@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 b09d5802
......@@ -2303,7 +2303,7 @@ static int ipw_send_ssid(struct ipw_priv *priv, u8 * ssid, int len)
ssid);
}
static int ipw_send_adapter_address(struct ipw_priv *priv, u8 * mac)
static int ipw_send_adapter_address(struct ipw_priv *priv, const u8 * mac)
{
if (!priv || !mac) {
IPW_ERROR("Invalid args\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册