ltq-vdsl-mei: Fix section mismatch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
openwrt-18.06
Hauke Mehrtens 2018-03-18 01:33:07 +01:00
parent 5587b8f451
commit d11aa1d4af
1 changed files with 20 additions and 0 deletions

View File

@ -22,3 +22,23 @@
void *usedDevId );
--- a/src/drv_mei_cpe_linux.c
+++ b/src/drv_mei_cpe_linux.c
@@ -129,7 +129,7 @@ static int MEI_module_init(void);
#endif
#if (MEI_DRV_LKM_ENABLE == 1) && (MEI_SUPPORT_DEVICE_VR10_320 != 1)
-static void __exit MEI_module_exit(void);
+static void MEI_module_exit(void);
#else
static void MEI_module_exit(void);
#endif
@@ -2188,7 +2188,7 @@ static int MEI_module_init (void)
Called by the kernel.
*/
#if (MEI_DRV_LKM_ENABLE == 1) && (MEI_SUPPORT_DEVICE_VR10_320 != 1)
-static void __exit MEI_module_exit (void)
+static void MEI_module_exit (void)
#else
static void MEI_module_exit (void)
#endif