summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/core/Makefile
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-08-06 11:36:38 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-08-06 14:50:02 +0200
commitea6763c104c93acb6554659fe4a3c9e9328a4b51 (patch)
treedb96af0186db246af1a5cfd82c699090935e2623 /drivers/video/fbdev/core/Makefile
parent83f45fc360c8e16a330474860ebda872d1384c8c (diff)
downloadblackbird-op-linux-ea6763c104c93acb6554659fe4a3c9e9328a4b51.tar.gz
blackbird-op-linux-ea6763c104c93acb6554659fe4a3c9e9328a4b51.zip
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
Diffstat (limited to 'drivers/video/fbdev/core/Makefile')
-rw-r--r--drivers/video/fbdev/core/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/core/Makefile b/drivers/video/fbdev/core/Makefile
index fa306538dac2..67f28e20a892 100644
--- a/drivers/video/fbdev/core/Makefile
+++ b/drivers/video/fbdev/core/Makefile
@@ -1,4 +1,5 @@
obj-y += fb_notify.o
+obj-$(CONFIG_FB_CMDLINE) += fb_cmdline.o
obj-$(CONFIG_FB) += fb.o
fb-y := fbmem.o fbmon.o fbcmap.o fbsysfs.o \
modedb.o fbcvt.o
OpenPOWER on IntegriCloud