mirror of
https://github.com/torvalds/linux.git
synced 2026-05-02 13:32:40 -04:00
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
20 lines
410 B
C
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
|