fbdev: export fb_edid_add_monspecs() for modules, improve algorithm
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 11 Nov 2010 14:44:52 +0000 (15:44 +0100)
committerMatt Sealey <matt@genesi-usa.com>
Mon, 31 Jan 2011 02:36:53 +0000 (20:36 -0600)
commit39274f9d7cb3e49734c81cf020f27cb83960f1a5
tree22845cc23aaedd4fb9d032b8a43f23bd8a62fd66
parent4779967299b1430e193cdc1da81a63fb7a2f7471
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