From: Ivan Safonov Date: Sun, 18 Sep 2016 17:27:32 +0000 (+0700) Subject: staging: r8188eu: set correct type for HalData member of adapter structure X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=47f7bd29b9bf60b909ca2879f4ba096acebbfe81;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: r8188eu: set correct type for HalData member of adapter structure To avoid unnecessary typecast. Signed-off-by: Ivan Safonov Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/include/drv_types.h b/drivers/staging/rtl8188eu/include/drv_types.h index 7af690ed2f01..5c275fb9a363 100644 --- a/drivers/staging/rtl8188eu/include/drv_types.h +++ b/drivers/staging/rtl8188eu/include/drv_types.h @@ -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;