commit | 1acf8bca9cdb2443a8707ff0afc3aadbfb5669f4 | [log] [tgz] |
---|---|---|
author | Bhumika Goyal <bhumirks@gmail.com> | Mon Dec 26 21:06:35 2016 +0530 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Jan 11 14:56:02 2017 -0600 |
tree | f161274bccf1fe4fc238362a27f89bdb4ec756a7 | |
parent | 63d182abd71cb47cee4adb8dd2afd71d987794d5 [diff] |
PCI: acpiphp_ibm: Make ibm_apci_table_attr __ro_after_init ibm_apci_table_attr is not modified after being initialized by ibm_acpiphp_init(). It is passed as an argument to the functions sysfs_{remove/create}_bin_file(), but both the arguments are const. Add __ro_after_init to its declaration. [bhelgaas: changelog] Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Kees Cook <keescook@chromium.org>