video: fbdev: atmel: fix warning for const return value
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 20 Aug 2015 10:46:10 +0000 (13:46 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 20 Aug 2015 10:50:20 +0000 (13:50 +0300)
A const on a return value is meaningless and generates a warning on some
versions of gcc:

drivers/video/fbdev/atmel_lcdfb.c:1003: warning: type qualifiers ignored on function return type

The function in question is only used inside the .c file, so the author
of the code most likely means "static" instead of "const".

Change the const to static.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/atmel_lcdfb.c

Simple merge