]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
drivers/video/ep93xx-fb.c: fix section mismatch and use module_platform_driver
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 29 Apr 2013 22:05:44 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 29 Apr 2013 22:54:26 +0000 (15:54 -0700)
commitbb5254d2f3b60fdd49966426ee2a86a904fdf2f8
tree4a47a5580892186aa5b0512fb0352a0b7b9907cf
parent6637eca322e912bf4e272ab33447bdafea2658e8
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/ep93xx-fb.c