20 lines
384 B
C
20 lines
384 B
C
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
||
|
/*
|
||
|
* Copyright (C) 2023 Linaro Ltd.
|
||
|
*
|
||
|
* Author: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
|
||
|
*/
|
||
|
#ifndef DRM_AUX_BRIDGE_H
|
||
|
#define DRM_AUX_BRIDGE_H
|
||
|
|
||
|
#if IS_ENABLED(CONFIG_DRM_AUX_BRIDGE)
|
||
|
int drm_aux_bridge_register(struct device *parent);
|
||
|
#else
|
||
|
static inline int drm_aux_bridge_register(struct device *parent)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|