linux/drivers/gpu/drm/gma500/framebuffer.h
Thomas Zimmermann e18da8ce7d drm/gma500: Replace struct psb_framebuffer with struct drm_framebuffer
After removing all unnecessary fields, struct psb_framebuffer is just a
wrapper around struct drm_framebuffer. So we can replace the former with
the latter.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191122100545.16812-4-tzimmermann@suse.de
2019-11-25 11:01:25 +01:00

24 lines
443 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2008-2011, Intel Corporation
*
* Authors:
* Eric Anholt <eric@anholt.net>
*/
#ifndef _FRAMEBUFFER_H_
#define _FRAMEBUFFER_H_
#include <drm/drm_fb_helper.h>
#include "psb_drv.h"
struct psb_fbdev {
struct drm_fb_helper psb_fb_helper; /* must be first */
struct drm_framebuffer fb;
};
extern int gma_connector_clones(struct drm_device *dev, int type_mask);
#endif