Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -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));