Commit 8a90f1a6 authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman

staging: ks7010: fix warning aout long line in init_request

This commit fix length of the definition line of init_request
function. Warning from checkpatch script for this is fixed.
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 25b5fc27
...@@ -1278,7 +1278,8 @@ static __le16 ks_wlan_cap(struct ks_wlan_private *priv) ...@@ -1278,7 +1278,8 @@ static __le16 ks_wlan_cap(struct ks_wlan_private *priv)
return cpu_to_le16((uint16_t)capability); return cpu_to_le16((uint16_t)capability);
} }
static void init_request(struct ks_wlan_private *priv, struct hostif_request *req) static void init_request(struct ks_wlan_private *priv,
struct hostif_request *req)
{ {
req->phy_type = cpu_to_le16((uint16_t)(priv->reg.phy_type)); req->phy_type = cpu_to_le16((uint16_t)(priv->reg.phy_type));
req->cts_mode = cpu_to_le16((uint16_t)(priv->reg.cts_mode)); req->cts_mode = cpu_to_le16((uint16_t)(priv->reg.cts_mode));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment