ACPI: add 'const' to several ACPI file_operations
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
committed by
Len Brown
parent
e26a2b8f68
commit
d75080328a
@@ -1070,7 +1070,7 @@ static int acpi_processor_power_open_fs(struct inode *inode, struct file *file)
|
||||
PDE(inode)->data);
|
||||
}
|
||||
|
||||
static struct file_operations acpi_processor_power_fops = {
|
||||
static const struct file_operations acpi_processor_power_fops = {
|
||||
.open = acpi_processor_power_open_fs,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
|
Reference in New Issue
Block a user