diff options
Diffstat (limited to 'drivers/gpu/drm/sysfb/simpledrm.c')
| -rw-r--r-- | drivers/gpu/drm/sysfb/simpledrm.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/drivers/gpu/drm/sysfb/simpledrm.c b/drivers/gpu/drm/sysfb/simpledrm.c index a1c3119330de..8530a3ef8a7a 100644 --- a/drivers/gpu/drm/sysfb/simpledrm.c +++ b/drivers/gpu/drm/sysfb/simpledrm.c @@ -18,7 +18,6 @@  #include <drm/drm_device.h>  #include <drm/drm_drv.h>  #include <drm/drm_fbdev_shmem.h> -#include <drm/drm_format_helper.h>  #include <drm/drm_framebuffer.h>  #include <drm/drm_gem_atomic_helper.h>  #include <drm/drm_gem_framebuffer_helper.h> @@ -765,8 +764,8 @@ static struct simpledrm_device *simpledrm_device_create(struct drm_driver *drv,  	/* Primary plane */ -	nformats = drm_fb_build_fourcc_list(dev, &format->format, 1, -					    sdev->formats, ARRAY_SIZE(sdev->formats)); +	nformats = drm_sysfb_build_fourcc_list(dev, &format->format, 1, +					       sdev->formats, ARRAY_SIZE(sdev->formats));  	primary_plane = &sdev->primary_plane;  	ret = drm_universal_plane_init(dev, primary_plane, 0, &simpledrm_primary_plane_funcs, | 
