linux/drivers/video/fbdev/core
Daniel Vetter ea6763c104 video/fbdev: Always built-in video= cmdline parsing
In drm/i915 we want to get at the video= cmdline modes even when we
don't have fbdev support enabled, so that users can always override
the kernel's initial mode selection.

But that gives us a direct depency upon the parsing code in the fbdev
subsystem. Since it's so little code just extract these 2 functions
and always build them in.

Whiel at it fix the checkpatch fail in this code.

v2: Also move fb_mode_option. Spotted by the kbuild.

v3: Review from Geert:
- Keep the old copyright notice from fb_mem.c, although I have no
idea what exactly applies.
- Only compile this when needed.

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

--

I prefer if we can merge this through drm-next since we'll use it
there in follow-up patches.
-Daniel
History 2014-08-06 14:50:02 +02:00
..
cfbcopyarea.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
cfbfillrect.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
cfbimgblt.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
fb_cmdline.c video/fbdev: Always built-in video= cmdline parsing 2014-08-06 14:50:02 +02:00
fb_ddc.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
fb_defio.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
fb_draw.h fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
fb_notify.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
fb_sys_fops.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
fbcmap.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
fbcvt.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
fbmem.c video/fbdev: Always built-in video= cmdline parsing 2014-08-06 14:50:02 +02:00
fbmon.c video: Check EDID for HDMI connection 2014-04-22 08:51:29 +03:00
fbsysfs.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
Makefile video/fbdev: Always built-in video= cmdline parsing 2014-08-06 14:50:02 +02:00
modedb.c video/fbdev: Always built-in video= cmdline parsing 2014-08-06 14:50:02 +02:00
svgalib.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
syscopyarea.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
sysfillrect.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00
sysimgblt.c fbdev: move fbdev core files to separate directory 2014-04-17 08:10:19 +03:00