]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ideapad-laptop: Constify DMI table for real!
authorMathias Krause <minipli@googlemail.com>
Thu, 28 Aug 2014 11:02:49 +0000 (13:02 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 2 Sep 2014 22:16:24 +0000 (15:16 -0700)
commitb3d94d7011cd6dbfd315637e31f5d557116e76d7
treee0cec5f274b3391ffd6117ad1c119545d8a17c5b
parent3b264d279e72be290f9755c410e2594075f4685c
ideapad-laptop: Constify DMI table for real!

This is a follow-up patch to commit 49458e83082d ("ideapad-laptop:
Constify DMI table and other r/o variables") to do what its commit
message says. The actual commit differs from the patch posted at
https://www.mail-archive.com/platform-driver-x86@vger.kernel.org/msg05340.html
significantly, probably due to a bad merge conflict resolution. Fix up
the mess and constify the DMI table for real and fix the bogus
double-const of ideapad_rfk_data[].

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Matthew Garrett <matthew.garrett@nebula.com>
Cc: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c