From: Hauke Mehrtens Date: Sun, 18 Mar 2018 00:33:07 +0000 (+0100) Subject: ltq-vdsl-mei: Fix section mismatch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d11aa1d4af9dfe0c640f4e14307dcbedeb25a08c;p=openwrt%2Fstaging%2Fmans0n.git ltq-vdsl-mei: Fix section mismatch Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/lantiq/ltq-vdsl-mei/patches/001-fix-compile.patch b/package/kernel/lantiq/ltq-vdsl-mei/patches/001-fix-compile.patch index b19de24730..6d3e182ec4 100644 --- a/package/kernel/lantiq/ltq-vdsl-mei/patches/001-fix-compile.patch +++ b/package/kernel/lantiq/ltq-vdsl-mei/patches/001-fix-compile.patch @@ -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