firmware/dmi_scan: constify strings
authorJean Delvare <jdelvare@suse.de>
Wed, 11 Sep 2013 21:24:09 +0000 (14:24 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 31 May 2018 23:30:12 +0000 (00:30 +0100)
commit6f5913017efcb8f08d80bdc39edb36956c6e4ab2
treea94bfe50ae689a519c640aef158aa23285c9c073
parent9c6a3641db87910a3e7cc0a63095a2ac1a9df41c
firmware/dmi_scan: constify strings

commit ffbbb96dd7570b9aafd426cd77a7ee03d224cabf upstream.

Add const to all DMI string pointers where this is possible.  This fixes a
checkpatch warning.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Joe Perches <joe@perches.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/firmware/dmi_scan.c