diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-11-08 16:42:39 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-11-15 09:42:21 +0100 |
| commit | 7d2faa8dbb7055a115fe0cd6068d7090094a573d (patch) | |
| tree | 9ee1c763d2d78d16c1c0fda47f8a1ca93f9d38fa /include/drm | |
| parent | drm/client: Move public client header to clients/ subdirectory (diff) | |
| download | linux-7d2faa8dbb7055a115fe0cd6068d7090094a573d.tar.gz linux-7d2faa8dbb7055a115fe0cd6068d7090094a573d.zip | |
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
Diffstat (limited to 'include/drm')
| -rw-r--r-- | include/drm/drm_fbdev_client.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/drm/drm_fbdev_client.h b/include/drm/drm_fbdev_client.h deleted file mode 100644 index e11a5614f127..000000000000 --- a/include/drm/drm_fbdev_client.h +++ /dev/null @@ -1,19 +0,0 @@ -/* SPDX-License-Identifier: MIT */ - -#ifndef DRM_FBDEV_CLIENT_H -#define DRM_FBDEV_CLIENT_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 |
