162306a36Sopenharmony_ci/* SPDX-License-Identifier: MIT */ 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci#ifndef DRM_FBDEV_GENERIC_H 462306a36Sopenharmony_ci#define DRM_FBDEV_GENERIC_H 562306a36Sopenharmony_ci 662306a36Sopenharmony_cistruct drm_device; 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifdef CONFIG_DRM_FBDEV_EMULATION 962306a36Sopenharmony_civoid drm_fbdev_generic_setup(struct drm_device *dev, unsigned int preferred_bpp); 1062306a36Sopenharmony_ci#else 1162306a36Sopenharmony_cistatic inline void drm_fbdev_generic_setup(struct drm_device *dev, unsigned int preferred_bpp) 1262306a36Sopenharmony_ci{ } 1362306a36Sopenharmony_ci#endif 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci#endif 16