uterm: video: remove fbdev_display_map() orphan
The dummy fbdev backend included this function to allow outside access to the framebuffer. This has for long been replaced with blit() and fill() helpers and it was never actually implemented. Hence, remove the helper function. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
023fb41bb4
commit
254cb5f6cb
@ -301,20 +301,6 @@ static int display_set_dpms(struct uterm_display *disp, int state)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *fbdev_display_map(struct uterm_display *disp)
|
||||
{
|
||||
if (!disp->video || !video_is_awake(disp->video))
|
||||
return NULL;
|
||||
if (!(disp->flags & DISPLAY_ONLINE))
|
||||
return NULL;
|
||||
|
||||
/* TODO: temporary function to obtain a pointer to the frambuffer from
|
||||
* the calling application. Stuff like bpp, size, etc. must be
|
||||
* published, too, otherwise, no-one will be able to use it. */
|
||||
|
||||
return disp->fbdev.map;
|
||||
}
|
||||
|
||||
static int display_swap(struct uterm_display *disp)
|
||||
{
|
||||
struct fb_var_screeninfo *vinfo;
|
||||
|
Loading…
x
Reference in New Issue
Block a user