]> err.no Git - linux-2.6/commit
acpi: fix sparse const errors
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 30 May 2008 00:51:57 +0000 (17:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 30 May 2008 14:43:24 +0000 (07:43 -0700)
commite3aa51fecdc941c859ed0515084323d3f997aa4a
tree982c236258481231fc65c0aba9618f0f36f7e07a
parent916941b2bfd9c4a8b66855f198ae16c3f51ef570
acpi: fix sparse const errors

In this case we want a constant pointer to constant chars:

drivers/misc/thinkpad_acpi.c:3824:19: error: Just how const do you want this type to be?

Like the error says.

drivers/misc/thinkpad_acpi.c:3863:19: error: Just how const do you want this type to be?
drivers/misc/thinkpad_acpi.c:3864:19: error: Just how const do you want this type to be?
drivers/misc/thinkpad_acpi.c:3865:19: error: Just how const do you want this type to be?
drivers/misc/thinkpad_acpi.c:3866:19: error: Just how const do you want this type to be?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/thinkpad_acpi.c