]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/drm/drmP.h
drm: kill drm_device->irq
[linux-2.6-omap-h63xx.git] / include / drm / drmP.h
index 51ee72c962b139946def320e2c3edd3b405d26a8..90a9e0247d58a4ffd238149862defe9a7ec28394 100644 (file)
@@ -824,7 +824,6 @@ struct drm_device {
 
        /** \name Context support */
        /*@{ */
-       int irq;                        /**< Interrupt used by board */
        int irq_enabled;                /**< True if irq handler is enabled */
        __volatile__ long context_flag; /**< Context swapping flag */
        __volatile__ long interrupt_flag; /**< Interruption handler flag */
@@ -915,6 +914,11 @@ struct drm_device {
 
 };
 
+static inline int drm_dev_to_irq(struct drm_device *dev)
+{
+       return dev->pdev->irq;
+}
+
 static __inline__ int drm_core_check_feature(struct drm_device *dev,
                                             int feature)
 {