Lines 369-374
static ssize_t acpi_proc_read( struct file *filp, char __user *buff,
Link Here
|
369 |
static struct proc_ops proc_acpi_operations = { |
369 |
static struct proc_ops proc_acpi_operations = { |
370 |
.proc_read = acpi_proc_read, |
370 |
.proc_read = acpi_proc_read, |
371 |
.proc_write = acpi_proc_write, |
371 |
.proc_write = acpi_proc_write, |
|
|
372 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 13, 0) |
373 |
.proc_lseek = default_llseek, |
374 |
#endif |
372 |
}; |
375 |
}; |
373 |
#else |
376 |
#else |
374 |
static struct file_operations proc_acpi_operations = { |
377 |
static struct file_operations proc_acpi_operations = { |
375 |
- |
|
|