]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / PNP: constify device IDs
authorMathias Krause <minipli@googlemail.com>
Sat, 2 Jan 2016 10:30:09 +0000 (11:30 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 Jan 2016 21:10:30 +0000 (22:10 +0100)
commitc22852071d7b27121b2fff0c0677f31c1dec212f
treeab5f76c6a9ce21a05ec49c00a51a4a7902895dc9
parent1cbd66d2efb1bdd434a3b98d3a232f27b93e84e7
ACPI / PNP: constify device IDs

Instead of re-creating the array on the stack each time
is_cmos_rtc_device() gets called, make the array 'static const'.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_pnp.c