projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb86fe
)
ahci: ahci_p5wdh_workaround - constify DMI table
author
Mathias Krause
<minipli@googlemail.com>
Sun, 31 Aug 2014 08:57:09 +0000
(10:57 +0200)
committer
Tejun Heo
<tj@kernel.org>
Sun, 31 Aug 2014 09:36:46 +0000
(
05:36
-0400)
The DMI table does not need to be written to, make it r/o.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/ahci.c
b/drivers/ata/ahci.c
index a29f8012fb08483cfb67e47b9d104db1e7db4954..c880699a7d0bb73a3c635b2e7c12d2c58b81bef4 100644
(file)
--- a/
drivers/ata/ahci.c
+++ b/
drivers/ata/ahci.c
@@
-780,7
+780,7
@@
static void ahci_pci_print_info(struct ata_host *host)
*/
static void ahci_p5wdh_workaround(struct ata_host *host)
{
- static struct dmi_system_id sysids[] = {
+ static
const
struct dmi_system_id sysids[] = {
{
.ident = "P5W DH Deluxe",
.matches = {