cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

rockchip_rgb.h (606B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd
      4 * Author:
      5 *      Sandy Huang <hjc@rock-chips.com>
      6 */
      7
      8#ifdef CONFIG_ROCKCHIP_RGB
      9struct rockchip_rgb *rockchip_rgb_init(struct device *dev,
     10				       struct drm_crtc *crtc,
     11				       struct drm_device *drm_dev);
     12void rockchip_rgb_fini(struct rockchip_rgb *rgb);
     13#else
     14static inline struct rockchip_rgb *rockchip_rgb_init(struct device *dev,
     15						     struct drm_crtc *crtc,
     16						     struct drm_device *drm_dev)
     17{
     18	return NULL;
     19}
     20
     21static inline void rockchip_rgb_fini(struct rockchip_rgb *rgb)
     22{
     23}
     24#endif