mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
Rename dp/ to display/ to account for additional display-related helpers, such as HDMI. Update all related include statements. No functional changes. Various drivers, such as i915 and amdgpu, use similar naming scheme by putting code for video-output standards into a local display/ directory. The new directory's name is aligned with this convention. v2: * update commit message (Javier) Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
34 lines
630 B
C
34 lines
630 B
C
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef DRM_DP_HELPER_INTERNAL_H
|
|
#define DRM_DP_HELPER_INTERNAL_H
|
|
|
|
struct drm_dp_aux;
|
|
|
|
#ifdef CONFIG_DRM_DP_AUX_CHARDEV
|
|
int drm_dp_aux_dev_init(void);
|
|
void drm_dp_aux_dev_exit(void);
|
|
int drm_dp_aux_register_devnode(struct drm_dp_aux *aux);
|
|
void drm_dp_aux_unregister_devnode(struct drm_dp_aux *aux);
|
|
#else
|
|
static inline int drm_dp_aux_dev_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void drm_dp_aux_dev_exit(void)
|
|
{
|
|
}
|
|
|
|
static inline int drm_dp_aux_register_devnode(struct drm_dp_aux *aux)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void drm_dp_aux_unregister_devnode(struct drm_dp_aux *aux)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif
|