drivers: Fix mods arm ffa error for kernel 6.1

Updated from ffa_ops to msg_ops for ffa api

Change-Id: I59bec58f2546d2aee1474d6c63a40b8871cd1e52
Signed-off-by: Rohit Khanna <rokhanna@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2934214
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Chris Dragan <kdragan@nvidia.com>
Tested-by: Koen Zhao <koenz@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Rohit Khanna
2023-07-10 09:48:01 -07:00
committed by mobile promotions
parent 2797b7499d
commit 2561ee0aa9

View File

@@ -19,7 +19,7 @@ static const struct ffa_device_id mods_ffa_device_id[] = {
struct mods_ffa_ctx {
struct ffa_device *ffa_dev;
#if KERNEL_VERSION(6, 2, 0) <= MODS_KERNEL_VERSION
#if KERNEL_VERSION(6, 1, 0) <= MODS_KERNEL_VERSION
const struct ffa_msg_ops *ffa_ops;
#else
const struct ffa_dev_ops *ffa_ops;
@@ -34,7 +34,7 @@ static int ffa_probe(struct ffa_device *ffa_dev)
{
int ret = 0;
#if KERNEL_VERSION(6, 2, 0) <= MODS_KERNEL_VERSION
#if KERNEL_VERSION(6, 1, 0) <= MODS_KERNEL_VERSION
const struct ffa_msg_ops *ffa_ops = NULL;
if (ffa_dev->ops)