kernel: ltq-tapi: Fix compilation with Linux 5.15
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 21 Mar 2022 19:14:08 +0000 (20:14 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 22 Oct 2022 17:44:45 +0000 (19:44 +0200)
MODULE_SUPPORTED_DEVICE was removed after Linux 5.10. Drop it from the
driver as well.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
package/kernel/lantiq/ltq-tapi/patches/500-linux-509.patch

index 586af59d856b30365da10b8e264c8f790cd846da..07f61aa6326e56cefb14ab61d7a407bc7653270a 100644 (file)
  }
  
  
+@@ -3800,7 +3808,9 @@ module_exit (ifx_tapi_module_exit);
+ MODULE_AUTHOR           ("Lantiq Deutschland GmbH");
+ MODULE_DESCRIPTION      ("TAPI Driver - www.lantiq.com");
++#if LINUX_VERSION_CODE <= KERNEL_VERSION(5,10,0)
+ MODULE_SUPPORTED_DEVICE ("TAPI DEVICE");
++#endif
+ MODULE_LICENSE          ("Dual BSD/GPL");
+ EXPORT_SYMBOL (IFX_TAPI_Register_LL_Drv);
 --- a/src/drv_tapi_kpi.c
 +++ b/src/drv_tapi_kpi.c
 @@ -134,7 +134,11 @@ extern IFX_int32_t           block_ingre