summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/sysfb.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-08-02 12:05:23 (GMT)
committerH. Peter Anvin <hpa@linux.intel.com>2013-08-02 23:17:47 (GMT)
commit2995e506276bfdc7311eb02db8b2aa1a61a4b849 (patch)
treec84c86746352c3875bb418a7bb91e433c2aa4471 /arch/x86/kernel/sysfb.c
parente3263ab389a7bc9398c3d366819d6f39b9cfd677 (diff)
downloadlinux-fsl-qoriq-2995e506276bfdc7311eb02db8b2aa1a61a4b849.tar.xz
x86: sysfb: move EFI quirks from efifb to sysfb
The EFI FB quirks from efifb.c are useful for simple-framebuffer devices as well. Apply them by default so we can convert efifb.c to use efi-framebuffer platform devices. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Link: http://lkml.kernel.org/r/1375445127-15480-5-git-send-email-dh.herrmann@gmail.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/sysfb.c')
-rw-r--r--arch/x86/kernel/sysfb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/sysfb.c b/arch/x86/kernel/sysfb.c
index 7f30e19..193ec2c 100644
--- a/arch/x86/kernel/sysfb.c
+++ b/arch/x86/kernel/sysfb.c
@@ -47,6 +47,8 @@ static __init int sysfb_init(void)
bool compatible;
int ret;
+ sysfb_apply_efi_quirks();
+
/* try to create a simple-framebuffer device */
compatible = parse_mode(si, &mode);
if (compatible) {
@@ -68,4 +70,5 @@ static __init int sysfb_init(void)
return IS_ERR(pd) ? PTR_ERR(pd) : 0;
}
+/* must execute after PCI subsystem for EFI quirks */
device_initcall(sysfb_init);