From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:09:24 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl8192_init_priv_handler X-Git-Tag: v5.15~14806^2~1708 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8d0dc3c272a051e4892e10a8a8158d5aaf65850;p=platform%2Fkernel%2Flinux-starfive.git staging: rtl8192e: Rename rtl8192_init_priv_handler Use naming schema found in other rtlwifi devices. Rename rtl8192_init_priv_handler to _rtl92e_init_priv_handler. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index fe01a90..b4bc44c7 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -848,7 +848,7 @@ static int rtl8192_sta_down(struct net_device *dev, bool shutdownrf) return 0; } -static void rtl8192_init_priv_handler(struct net_device *dev) +static void _rtl92e_init_priv_handler(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); @@ -1069,7 +1069,7 @@ static short _rtl92e_init(struct net_device *dev) memset(&(priv->stats), 0, sizeof(struct rt_stats)); - rtl8192_init_priv_handler(dev); + _rtl92e_init_priv_handler(dev); _rtl92e_init_priv_constant(dev); rtl8192_init_priv_variable(dev); rtl8192_init_priv_lock(priv);