diff --git a/simrupt.c b/simrupt.c index 8cc5735..bcfbb4b 100644 --- a/simrupt.c +++ b/simrupt.c @@ -326,7 +326,9 @@ static const struct file_operations simrupt_fops = { .owner = THIS_MODULE, #endif .read = simrupt_read, +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 12, 0) .llseek = no_llseek, +#endif .open = simrupt_open, .release = simrupt_release, };