On 2/15/25 04:22, Simon Glass wrote:
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.
Honestly this solution is so obvious I assumed it wouldn't work when I
was hacking on this stuff heh
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Caleb Connolly <[email protected]>
---
(no changes since v1)
drivers/video/efi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/efi.c b/drivers/video/efi.c
index a7b6d47f9a1..94d4c93dac3 100644
--- a/drivers/video/efi.c
+++ b/drivers/video/efi.c
@@ -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;
--
Caleb (they/them)