Files
linux/drivers/gpu/drm/clients/drm_client_internal.h
Thomas Zimmermann 7d2faa8dbb drm/fbdev-client: Unexport drm_fbdev_client_setup()
DRM drivers invoke drm_client_setup() to set up in-kernel clients.
No driver should call drm_fbdev_client_setup() directly. Therefore,
unexport the symbol and move the declaration to the internal header
drm_client_internal.h.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241108154600.126162-4-tzimmermann@suse.de
2024-11-15 09:42:21 +01:00

20 lines
410 B
C

/* SPDX-License-Identifier: MIT */
#ifndef DRM_CLIENT_INTERNAL_H
#define DRM_CLIENT_INTERNAL_H
struct drm_device;
struct drm_format_info;
#ifdef CONFIG_DRM_FBDEV_EMULATION
int drm_fbdev_client_setup(struct drm_device *dev, const struct drm_format_info *format);
#else
static inline int drm_fbdev_client_setup(struct drm_device *dev,
const struct drm_format_info *format)
{
return 0;
}
#endif
#endif