linux/drivers/video/fbdev
Thomas Zimmermann f1b215fdcd fbdev/hyperv_fb: Include <linux/screen_info.h>
Include <linux/screen_info.h> to get the global screen_info state.
Fixes the following errors:

>> drivers/video/fbdev/hyperv_fb.c:1033:10: error: use of undeclared identifier 'screen_info'
    1033 |                 base = screen_info.lfb_base;
         |                        ^
   drivers/video/fbdev/hyperv_fb.c:1034:10: error: use of undeclared identifier 'screen_info'
    1034 |                 size = screen_info.lfb_size;
	 |                        ^
>> drivers/video/fbdev/hyperv_fb.c:1080:3: error: must use 'struct' tag to refer to type 'screen_info'
    1080 |                 screen_info.lfb_size = 0;
	 |                 ^
	 |                 struct
>> drivers/video/fbdev/hyperv_fb.c:1080:14: error: expected identifier or '('
    1080 |                 screen_info.lfb_size = 0;
	 |                            ^
   drivers/video/fbdev/hyperv_fb.c:1081:3: error: must use 'struct' tag to refer to type 'screen_info'
    1081 |                 screen_info.lfb_base = 0;
	 |                 ^
	 |                 struct
   drivers/video/fbdev/hyperv_fb.c:1081:14: error: expected identifier or '('
    1081 |                 screen_info.lfb_base = 0;
	 |                            ^
   drivers/video/fbdev/hyperv_fb.c:1082:3: error: must use 'struct' tag to refer to type 'screen_info'
    1082 |                 screen_info.orig_video_isVGA = 0;
	 |                 ^
	 |                 struct
    drivers/video/fbdev/hyperv_fb.c:1082:14: error: expected identifier or '('
    1082 |                 screen_info.orig_video_isVGA = 0;
	 |                            ^
    8 errors generated.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202307101042.rqehuauj-lkp@intel.com/
Fixes: 8b0d13545b ("efi: Do not include <linux/screen_info.h> from EFI header")
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: "K. Y. Srinivasan" <kys@microsoft.com> (supporter:Hyper-V/Azure CORE AND DRIVERS)
Cc: Haiyang Zhang <haiyangz@microsoft.com> (supporter:Hyper-V/Azure CORE AND DRIVERS)
Cc: Wei Liu <wei.liu@kernel.org> (supporter:Hyper-V/Azure CORE AND DRIVERS)
Cc: Dexuan Cui <decui@microsoft.com> (supporter:Hyper-V/Azure CORE AND DRIVERS)
Cc: Helge Deller <deller@gmx.de> (maintainer:FRAMEBUFFER LAYER)
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Sui Jingfeng <suijingfeng@loongson.cn>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-efi@vger.kernel.org
Cc: linux-hyperv@vger.kernel.org (open list:Hyper-V/Azure CORE AND DRIVERS)
Cc: linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER)
Cc: dri-devel@lists.freedesktop.org (open list:FRAMEBUFFER LAYER)
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn>
Link: https://patchwork.freedesktop.org/patch/msgid/20230710075848.23087-1-tzimmermann@suse.de
2023-07-11 13:58:02 +02:00
..
aty fbdev/radeonfb: Use hardware device as backlight parent 2023-06-27 09:58:49 +02:00
core fbdev: Make support for userspace interfaces configurable 2023-06-27 09:58:51 +02:00
geode fbdev: lxfb: Fix potential divide by zero 2023-03-16 16:18:17 +01:00
i810 fbdev: i810: include i810_main.h in i810_dvt.c 2023-05-20 07:02:12 +02:00
intelfb fbdev: intelfb: Fix potential divide by zero 2023-03-16 16:18:16 +01:00
kyro fbdev: Rename fb_mem*() helpers 2023-05-18 11:07:54 +02:00
matrox Linux 6.4-rc7 2023-06-19 16:01:25 +10:00
mb862xx fbdev/mb862xxfb: Output messages with fb_dbg() 2023-06-27 09:58:49 +02:00
mmp fbdev: mmp: Fix deferred clk handling in mmphw_probe() 2023-04-24 11:48:33 +02:00
nvidia fbdev/nvidiafb: Use hardware device as backlight parent 2023-06-27 09:58:49 +02:00
omap fbdev: omapfb: Convert to platform remove callback returning void 2023-04-24 11:48:31 +02:00
omap2 fbdev: Make support for userspace interfaces configurable 2023-06-27 09:58:51 +02:00
riva fbdev/rivafb: Use hardware device as backlight parent 2023-06-27 09:58:50 +02:00
savage fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
sis Linux 6.1-rc6 2022-11-24 11:05:43 +10:00
vermilion mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
via fbdev: via: Convert to platform remove callback returning void 2023-04-24 11:48:33 +02:00
68328fb.c fbdev: 68328fb: Remove trailing whitespaces 2023-05-11 15:22:15 +02:00
acornfb.c
acornfb.h
amba-clcd.c fbdev: Use of_property_present() for testing DT property presence 2023-03-16 16:18:17 +01:00
amifb.c video: fbdev: amiga: Simplify amifb_pan_display() 2022-07-18 07:54:17 +02:00
arcfb.c Linux 6.4-rc7 2023-06-19 16:01:25 +10:00
arkfb.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
asiliantfb.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
atafb_iplan2p2.c
atafb_iplan2p4.c
atafb_iplan2p8.c
atafb_mfb.c
atafb_utils.h
atafb.c video: fbdev: atari: Remove backward bug-compatibility 2022-07-18 07:56:18 +02:00
atafb.h
atmel_lcdfb.c fbdev: atmel_lcdfb: Remove trailing whitespaces 2023-05-11 15:22:15 +02:00
au1100fb.c fbdev: au1100fb: Convert to platform remove callback returning void 2023-05-30 18:33:25 +02:00
au1100fb.h video: fbdev: au1100fb: Spelling s/palette/palette/ 2022-02-16 10:54:42 +01:00
au1200fb.c Linux 6.4-rc7 2023-06-19 16:01:25 +10:00
au1200fb.h
broadsheetfb.c fbdev/broadsheetfb: Generate deferred I/O ops 2023-07-08 21:03:05 +02:00
bt431.h
bt455.h
bw2.c fbdev: bw2: Convert to platform remove callback returning void 2023-05-30 18:33:25 +02:00
c2p_core.h
c2p_iplan2.c
c2p_planar.c
c2p.h
carminefb_regs.h
carminefb.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
carminefb.h
cg3.c fbdev: cg3: Convert to platform remove callback returning void 2023-04-24 11:48:29 +02:00
cg6.c fbdev: cg6: Convert to platform remove callback returning void 2023-04-24 11:48:29 +02:00
cg14.c fbdev: cg14: Remove trailing whitespaces 2023-05-11 15:22:15 +02:00
chipsfb.c fbdev: Rename fb_mem*() helpers 2023-05-18 11:07:54 +02:00
cirrusfb.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
clps711x-fb.c fbdev: clps711x-fb: Convert to platform remove callback returning void 2023-04-24 11:48:29 +02:00
cobalt_lcdfb.c Merge drm/drm-next into drm-misc-next 2023-05-09 15:03:40 +02:00
controlfb.c fbdev: controlfb: Remove trailing whitespaces 2023-05-11 15:22:15 +02:00
controlfb.h
cyber2000fb.c Linux 6.1-rc6 2022-11-24 11:05:43 +10:00
cyber2000fb.h
da8xx-fb.c fbdev: da8xx-fb: Convert to platform remove callback returning void 2023-04-24 11:48:29 +02:00
dnfb.c video: fbdev: Make *fb_setup() and *fb_init() static 2022-07-18 07:54:20 +02:00
edid.h
efifb.c fbdev: efifb: Convert to platform remove callback returning void 2023-04-24 11:48:29 +02:00
ep93xx-fb.c fbdev/ep93xx-fb: Do not assign to struct fb_info.dev 2023-06-27 09:58:49 +02:00
ffb.c fbdev: ffb: Convert to platform remove callback returning void 2023-04-24 11:48:29 +02:00
fm2fb.c video: fbdev: Make *fb_setup() and *fb_init() static 2022-07-18 07:54:20 +02:00
fsl-diu-fb.c fbdev/fsl-diu-fb: Output messages with fb_*() helpers 2023-06-27 09:58:49 +02:00
g364fb.c fbdev: g364fb: Remove trailing whitespaces 2023-05-11 15:22:15 +02:00
gbefb.c fbdev: gbefb: Convert to platform remove callback returning void 2023-04-24 11:48:29 +02:00
goldfishfb.c fbdev: goldfishfb: Convert to platform remove callback returning void 2023-04-24 11:48:30 +02:00
grvga.c fbdev: grvga: Convert to platform remove callback returning void 2023-04-24 11:48:30 +02:00
gxt4500.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
hecubafb.c fbdev/hecubafb: Generate deferred I/O ops 2023-07-08 21:03:12 +02:00
hgafb.c fbdev: hgafb: Remove trailing whitespaces 2023-05-11 15:22:16 +02:00
hitfb.c fbdev/hitfb: Cast I/O offset to address 2023-05-18 11:06:16 +02:00
hpfb.c fbdev: hpfb: Remove trailing whitespaces 2023-05-11 15:22:16 +02:00
hyperv_fb.c fbdev/hyperv_fb: Include <linux/screen_info.h> 2023-07-11 13:58:02 +02:00
i740_reg.h
i740fb.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
imsttfb.c fbdev: imsttfb: Fix error path of imsttfb_probe() 2023-05-27 19:14:26 +02:00
imxfb.c fbdev: imxfb: Convert to platform remove callback returning void 2023-04-24 11:48:30 +02:00
Kconfig fbdev/xen-fbfront: Select FB_SYS_HELPERS_DEFERRED 2023-07-08 21:03:30 +02:00
leo.c fbdev: leo: Convert to platform remove callback returning void 2023-04-24 11:48:30 +02:00
macfb.c fbdev: macfb: Remove trailing whitespaces 2023-05-11 15:22:16 +02:00
macmodes.c
macmodes.h
Makefile fbdev: remove w100fb driver 2023-02-01 17:23:38 +01:00
maxinefb.c fbdev: maxinefb: Remove trailing whitespaces 2023-05-11 15:22:16 +02:00
metronomefb.c fbdev/metronomefb: Generate deferred I/O ops 2023-07-08 21:03:19 +02:00
mx3fb.c fbdev: mx3fb: Convert to platform remove callback returning void 2023-04-24 11:48:31 +02:00
n411.c
neofb.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
ocfb.c fbdev: ocfb: Convert to platform remove callback returning void 2023-04-24 11:48:31 +02:00
offb.c fbdev: offb: Convert to platform remove callback returning void 2023-04-24 11:48:31 +02:00
p9100.c fbdev: p9100: Remove trailing whitespaces 2023-05-11 15:22:16 +02:00
platinumfb.c fbdev: platinumfb: Remove trailing whitespaces 2023-05-11 15:22:16 +02:00
platinumfb.h
pm2fb.c fbdev: pm2fb: fix missing pci_disable_device() 2022-12-14 20:01:50 +01:00
pm3fb.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
pmag-aa-fb.c
pmag-ba-fb.c
pmagb-b-fb.c
ps3fb.c Merge drm/drm-next into drm-misc-next 2023-05-09 15:03:40 +02:00
pvr2fb.c fbdev: Rename fb_mem*() helpers 2023-05-18 11:07:54 +02:00
pxa3xx-gcu.c fbdev: pxa3xx-gcu: Convert to platform remove callback returning void 2023-04-24 11:48:31 +02:00
pxa3xx-gcu.h
pxa3xx-regs.h ARM: pxa: move regs-lcd.h into driver 2022-04-19 16:29:03 +02:00
pxa168fb.c fbdev/pxa168fb: Do not assign to struct fb_info.dev 2023-06-27 09:58:49 +02:00
pxa168fb.h
pxafb.c fbdev: pxafb: Convert to platform remove callback returning void 2023-04-24 11:48:31 +02:00
pxafb.h
q40fb.c video: fbdev: Make *fb_setup() and *fb_init() static 2022-07-18 07:54:20 +02:00
s1d13xxxfb.c fbdev: s1d13xxxfb: Convert to platform remove callback returning void 2023-04-24 11:48:31 +02:00
s3c-fb.c fbdev: s3c-fb: Convert to platform remove callback returning void 2023-04-24 11:48:32 +02:00
s3fb.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
sa1100fb.c fbdev: sa1100fb: Remove trailing whitespaces 2023-05-11 15:22:16 +02:00
sa1100fb.h
sbuslib.c
sbuslib.h
sh7760fb.c fbdev/sh7760fb: Use hardware device with dev_() output during probe 2023-06-27 09:58:50 +02:00
sh_mobile_lcdcfb.c fbdev: sh_mobile_lcdcfb: Convert to platform remove callback returning void 2023-04-24 11:48:32 +02:00
sh_mobile_lcdcfb.h
simplefb.c fbdev: simplefb: Convert to platform remove callback returning void 2023-04-24 11:48:32 +02:00
skeletonfb.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
sm501fb.c fbdev/sm501fb: Output message with fb_err() 2023-06-27 09:58:50 +02:00
sm712.h
sm712fb.c fbdev/sm712fb: Do not include <linux/screen_info.h> 2023-07-08 20:26:38 +02:00
smscufx.c fbdev/smscufx: Detect registered fb_info from refcount 2023-06-27 09:58:50 +02:00
ssd1307fb.c fbdev/ssd1307fb: Generate deferred I/O ops 2023-07-08 21:03:26 +02:00
sstfb.c fbdev: Rename fb_mem*() helpers 2023-05-18 11:07:54 +02:00
stifb.c drm-misc-next for v6.5: 2023-05-26 14:23:29 +10:00
sunxvr500.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
sunxvr1000.c fbdev: Move fbdev drivers from strlcpy to strscpy 2022-08-24 22:06:15 +02:00
sunxvr2500.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
tcx.c fbdev: tcx: Convert to platform remove callback returning void 2023-04-24 11:48:32 +02:00
tdfxfb.c fbdev/tdfxfb: Set i2c adapter parent to hardware device 2023-06-27 09:58:50 +02:00
tgafb.c fbdev: tgafb: Fix potential divide by zero 2023-03-14 18:49:39 +01:00
tridentfb.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
udlfb.c Linux 6.4-rc7 2023-06-19 16:01:25 +10:00
uvesafb.c fbdev: uvesafb: Convert to platform remove callback returning void 2023-04-24 11:48:32 +02:00
valkyriefb.c fbdev: valkyriefb: Remove trailing whitespaces 2023-05-11 15:22:16 +02:00
valkyriefb.h
vesafb.c fbdev: vesafb: Convert to platform remove callback returning void 2023-04-24 11:48:32 +02:00
vfb.c drm-misc-next for 6.5: 2023-05-19 11:37:59 +10:00
vga16fb.c fbdev: vga16fb: Convert to platform remove callback returning void 2023-04-24 11:48:32 +02:00
vt8500lcdfb.c fbdev: vt8500lcdfb: Convert to platform remove callback returning void 2023-04-24 11:48:33 +02:00
vt8500lcdfb.h
vt8623fb.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
wm8505fb_regs.h
wm8505fb.c modules-6.4-rc1 2023-04-27 16:36:55 -07:00
wmt_ge_rops.c fbdev: Include <linux/io.h> in various drivers 2023-05-18 11:06:19 +02:00
wmt_ge_rops.h
xen-fbfront.c fbdev/xen-fbfront: Generate deferred I/O ops 2023-07-08 21:03:35 +02:00
xilinxfb.c fbdev: xilinxfb: Convert to platform remove callback returning void 2023-04-24 11:48:33 +02:00