Add support for evklib to use struct proc_ops 78/27178/1 lamprey 12.1.1 12.1.10 12.1.11 12.1.12 12.1.13 12.1.14 12.1.15 12.1.16 12.1.17 12.1.18 12.1.19 12.1.2 12.1.20 12.1.3 12.1.4 12.1.5 12.1.6 12.1.7 12.1.8 12.1.9 lamprey/12.1.1 lamprey/12.1.10 lamprey/12.1.11 lamprey/12.1.12 lamprey/12.1.13 lamprey/12.1.14 lamprey/12.1.15 lamprey/12.1.16 lamprey/12.1.17 lamprey/12.1.18 lamprey/12.1.19 lamprey/12.1.2 lamprey/12.1.20 lamprey/12.1.3 lamprey/12.1.4 lamprey/12.1.5 lamprey/12.1.6 lamprey/12.1.7 lamprey/12.1.8 lamprey/12.1.9 lamprey_12.1.1 lamprey_12.1.10 lamprey_12.1.11 lamprey_12.1.12 lamprey_12.1.13 lamprey_12.1.14 lamprey_12.1.15 lamprey_12.1.16 lamprey_12.1.17 lamprey_12.1.18 lamprey_12.1.19 lamprey_12.1.2 lamprey_12.1.20 lamprey_12.1.3 lamprey_12.1.4 lamprey_12.1.5 lamprey_12.1.6 lamprey_12.1.7 lamprey_12.1.8 lamprey_12.1.9
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>
Wed, 16 Feb 2022 06:01:39 +0000 (06:01 +0000)
commit4bc8daf28251e2384a06360882994d777dcf5276
tree22acde8d76bd424e19a0189fe3c64ca7a286e8a2
parent0526e9435d7646bf6c81af1b680c46fdf199438a
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
(cherry picked from commit 4bdea8fcad6ffd4bcb1bba404ebf30c344ab7dfe)
module/kernel-module-evklib/evk_lib.c