Linux 4.9.243
[linux/fpc-iii.git] / drivers / gpu / drm / rcar-du / rcar_du_hdmienc.h
blob2ff0128ac8e160e5b64e99747cb76b8966accb8e
1 /*
2 * R-Car Display Unit HDMI Encoder
4 * Copyright (C) 2014 Renesas Electronics Corporation
6 * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com)
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
14 #ifndef __RCAR_DU_HDMIENC_H__
15 #define __RCAR_DU_HDMIENC_H__
17 #include <linux/module.h>
19 struct device_node;
20 struct rcar_du_device;
21 struct rcar_du_encoder;
23 #if IS_ENABLED(CONFIG_DRM_RCAR_HDMI)
24 int rcar_du_hdmienc_init(struct rcar_du_device *rcdu,
25 struct rcar_du_encoder *renc, struct device_node *np);
26 #else
27 static inline int rcar_du_hdmienc_init(struct rcar_du_device *rcdu,
28 struct rcar_du_encoder *renc,
29 struct device_node *np)
31 return -ENOSYS;
33 #endif
35 #endif /* __RCAR_DU_HDMIENC_H__ */