staging: r8188eu: set correct type for HalData member of adapter structure
authorIvan Safonov <insafonov@gmail.com>
Sun, 18 Sep 2016 17:27:32 +0000 (00:27 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Sep 2016 11:33:49 +0000 (13:33 +0200)
To avoid unnecessary typecast.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/drv_types.h

index 7af690ed2f0114025d548d3d4aa5ab7ed81e6927..5c275fb9a3634d1400dae3889a26b2823ee06d1b 100644 (file)
@@ -154,7 +154,7 @@ struct adapter {
        struct  eeprom_priv eeprompriv;
        struct  led_priv        ledpriv;
 
-       void *HalData;
+       struct hal_data_8188e *HalData;
 
        s32     bDriverStopped;
        s32     bSurpriseRemoved;