video: Use a local mode_info struct in the EFI driver
There is no need to use the global struct provided by PCI. Declare a local structure instead, so this can be used on ARM without including support for PCI ROMs. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -183,6 +183,7 @@ static int efi_video_probe(struct udevice *dev)
|
||||
{
|
||||
struct video_uc_plat *plat = dev_get_uclass_plat(dev);
|
||||
struct video_priv *uc_priv = dev_get_uclass_priv(dev);
|
||||
struct vesa_state mode_info;
|
||||
struct vesa_mode_info *vesa = &mode_info.vesa;
|
||||
u64 fb;
|
||||
int ret;
|
||||
|
||||
Reference in New Issue
Block a user