aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2015-06-13 14:27:00 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-19 01:14:15 +0200
commit1a147ed75cc94cb2eca3bfa5ca00e069574090fd (patch)
tree25ab75fa9ed7100bfcc1abc2a3b0929255efb730 /include/linux/acpi.h
parentACPI / enumeration: Document the rules regarding the PRP0001 device ID (diff)
downloadlinux-dev-1a147ed75cc94cb2eca3bfa5ca00e069574090fd.tar.xz
linux-dev-1a147ed75cc94cb2eca3bfa5ca00e069574090fd.zip
ACPI: Constify ACPI device IDs in documentation
ACPI device ID arrays normally don't need to be written to as they're only ever read. The common usage -- embedding pointers to acpi_device_id arrays in other data structures -- reference them as 'const', e.g. as in struct acpi_driver / acpi_scan_handler / device_driver. The matchers are taking const pointers, too. So it's only natural, to propose using const arrays. Change the documentation accordingly. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/acpi.h')
0 files changed, 0 insertions, 0 deletions