drivers/video/s1d13xxxfb.c: fix build as module with dbg
authorStanislav Brabec <utx@penguin.cz>
Thu, 15 Nov 2007 00:58:55 +0000 (16:58 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:38 +0000 (18:45 -0800)
commit28822f22e18fc3c422f64b5bf0bb1e6c306af634
treefb0484c08cc48fcf54e9587ff520fbb66acfc40a
parentcfe36bde59bc1ae868e775ad82386c3acaabb738
drivers/video/s1d13xxxfb.c: fix build as module with dbg

Attached patch fixes two compilation problems of s1d13xxxfb.c:

- Fixes outdated dbg() message to fix compilation error with debugging enabled.

- Do not read kernel command line options when compiled as module.

Signed-off-by: Stanislav Brabec <utx@penguin.cz>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/s1d13xxxfb.c