]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/drm/drm_encoder.h
drm: Fix compilation warning caused by static inline forward declaration
[mirror_ubuntu-artful-kernel.git] / include / drm / drm_encoder.h
index 387e33a4d6ee5bc7bea8551c6e8016858669588a..5f58f65344e000ae2b79b1bc1195799ed4ee4fbd 100644 (file)
 
 #include <linux/list.h>
 #include <linux/ctype.h>
+#include <drm/drm_crtc.h>
+#include <drm/drm_mode.h>
 #include <drm/drm_mode_object.h>
 
+struct drm_encoder;
+
 /**
  * struct drm_encoder_funcs - encoder controls
  *
@@ -188,9 +192,6 @@ static inline unsigned int drm_encoder_index(struct drm_encoder *encoder)
        return encoder->index;
 }
 
-/* FIXME: We have an include file mess still, drm_crtc.h needs untangling. */
-static inline uint32_t drm_crtc_mask(struct drm_crtc *crtc);
-
 /**
  * drm_encoder_crtc_ok - can a given crtc drive a given encoder?
  * @encoder: encoder to test