Add support for evklib to use struct proc_ops 64/27164/1 12.93.0 marlin/12.93.0 marlin_12.93.0
authorYoshiki Ito <ito.yoshiki001@jp.panasonic.com>
Thu, 10 Feb 2022 00:14:58 +0000 (09:14 +0900)
committerYoshiki Ito <ito.yoshiki001@jp.panasonic.com>
Thu, 10 Feb 2022 05:21:01 +0000 (14:21 +0900)
commit4bdea8fcad6ffd4bcb1bba404ebf30c344ab7dfe
tree96ca02f2e2791e4036be04dd0ccb59738962251c
parent297bbddfa977d85317644d4626eeebdbc266f97a
Add support for evklib to use struct proc_ops

Kernel 5.6 and later replaced struct file_operations with struct proc_ops.
Enabling agl-refhw-h3 feature or virtio-aarch64 machine configuration
will cause build errors. This patch enables kernel-module-evklib to use
struct proc_ops at 5.6 and later to avoid the errors.

Bug-AGL: SPEC-4254

Signed-off-by: Yoshiki Ito <ito.yoshiki001@jp.panasonic.com>
Change-Id: Ie78913fc16d245403b7e283b8bdea94c7ea7d666
module/kernel-module-evklib/evk_lib.c