]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 5115/1: pxafb: fix ifdef for command line option handling
authorJaya Kumar <jayakumar.arm@gmail.com>
Sun, 22 Jun 2008 03:27:25 +0000 (04:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 22 Jun 2008 13:31:30 +0000 (14:31 +0100)
commit3d690e9d3798fccad9a141414491c4c386adea18
tree2648dfbac57d0362afde9ed42ff617f9eeffbb8a
parentd825391d19845dcbfe68ea4a3d8be5c47b748431
[ARM] 5115/1: pxafb: fix ifdef for command line option handling

This bug was found and fixed by Lothar Wassmann.

Previously, the use of ifndef CONFIG_MODULES made it such that pxafb command
line option parsing was dependent on whether the kernel was built with module
support. The ifndef should be MODULE so that parsing is dependent only on
whether the driver is built-in or not.

Signed-off-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/pxafb.c