summaryrefslogtreecommitdiff
path: root/drivers/video/efi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/efi.c')
-rw-r--r--drivers/video/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/efi.c b/drivers/video/efi.c
index 47441a35a6..ceb6f85d25 100644
--- a/drivers/video/efi.c
+++ b/drivers/video/efi.c
@@ -110,7 +110,7 @@ static int save_vesa_mode(struct vesa_mode_info *vesa)
static int efi_video_probe(struct udevice *dev)
{
- struct video_uc_platdata *plat = dev_get_uclass_platdata(dev);
+ struct video_uc_platdata *plat = dev_get_uclass_plat(dev);
struct video_priv *uc_priv = dev_get_uclass_priv(dev);
struct vesa_mode_info *vesa = &mode_info.vesa;
int ret;