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
@@ -102,7 +102,7 @@ static struct acpi_driver acpi_processor_driver = {
|
||||
#define INSTALL_NOTIFY_HANDLER 1
|
||||
#define UNINSTALL_NOTIFY_HANDLER 2
|
||||
|
||||
static struct file_operations acpi_processor_info_fops = {
|
||||
static const struct file_operations acpi_processor_info_fops = {
|
||||
.open = acpi_processor_info_open_fs,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
|
Reference in New Issue
Block a user