fbdev: export fb_edid_add_monspecs() for modules, improve algorithm
commite4105119aca9b86b163fa07428df1f615034a03d
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 11 Nov 2010 14:44:52 +0000 (11 15:44 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 15 Nov 2010 05:52:21 +0000 (15 14:52 +0900)
tree2896d2accf7264ed04d71cc260803593fe4dabf9
parent9fbbdde93231ad7f35c217aa6bbbc7995133f483
fbdev: export fb_edid_add_monspecs() for modules, improve algorithm

fb_edid_add_monspecs() should also be exported for use in modules, and it
requires a dummy version for the case, when CONFIG_FB_MODE_HELPERS is not
selected. This patch also improves the algorithm by removing a redundant
memory allocation, adds function documentation, adds data verification and
replaces memmove() with memcpy().

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/fbmon.c