diff --git a/drivers/misc/mods/mods_arm_ffa.c b/drivers/misc/mods/mods_arm_ffa.c index 8fddfa8e..6f83312c 100644 --- a/drivers/misc/mods/mods_arm_ffa.c +++ b/drivers/misc/mods/mods_arm_ffa.c @@ -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)