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
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
#ifndef DRM_FBDEV_CLIENT_H
|
||||
#define DRM_FBDEV_CLIENT_H
|
||||
#ifndef DRM_CLIENT_INTERNAL_H
|
||||
#define DRM_CLIENT_INTERNAL_H
|
||||
|
||||
struct drm_device;
|
||||
struct drm_format_info;
|
||||
@@ -2,10 +2,11 @@
|
||||
|
||||
#include <drm/clients/drm_client_setup.h>
|
||||
#include <drm/drm_device.h>
|
||||
#include <drm/drm_fbdev_client.h>
|
||||
#include <drm/drm_fourcc.h>
|
||||
#include <drm/drm_print.h>
|
||||
|
||||
#include "drm_client_internal.h"
|
||||
|
||||
/**
|
||||
* drm_client_setup() - Setup in-kernel DRM clients
|
||||
* @dev: DRM device
|
||||
|
||||
@@ -3,11 +3,12 @@
|
||||
#include <drm/drm_client.h>
|
||||
#include <drm/drm_crtc_helper.h>
|
||||
#include <drm/drm_drv.h>
|
||||
#include <drm/drm_fbdev_client.h>
|
||||
#include <drm/drm_fb_helper.h>
|
||||
#include <drm/drm_fourcc.h>
|
||||
#include <drm/drm_print.h>
|
||||
|
||||
#include "drm_client_internal.h"
|
||||
|
||||
/*
|
||||
* struct drm_client_funcs
|
||||
*/
|
||||
@@ -164,4 +165,3 @@ err_drm_client_init:
|
||||
kfree(fb_helper);
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(drm_fbdev_client_setup);
|
||||
|
||||
Reference in New Issue
Block a user