[openwrt/openwrt] ltq-vdsl-mei: Fix section mismatch

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 18 08:34:15 PDT 2018


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/d11aa1d4af9dfe0c640f4e14307dcbedeb25a08c

commit d11aa1d4af9dfe0c640f4e14307dcbedeb25a08c
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Mar 18 01:33:07 2018 +0100

    ltq-vdsl-mei: Fix section mismatch
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../ltq-vdsl-mei/patches/001-fix-compile.patch       | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

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 b19de24..6d3e182 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



More information about the lede-commits mailing list