]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/ep93xx-fb.c: fix section mismatch and use module_platform_driver
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 26 Mar 2013 23:24:07 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:04:09 +0000 (17:04 +1100)
commit624e4205cee7ccec1e8de0e52fd5896b1eb3d3fd
treeb4e9b30359c1a4f54204e0b501d0599273c6cda2
parent46250ae39035325f7a161d4172a73992aac67d6e
drivers/video/ep93xx-fb.c: fix section mismatch and use module_platform_driver

Remove the __init tags from the ep93xxfb_calc_fbsize() and
ep93xxfb_alloc_videomem() functions to fix the section mismatch warnings.

Use module_platform_driver() to remove the init/exit boilerplate.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <rmallon@gmail.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/ep93xx-fb.c