| .. | .. |
|---|
| 23 | 23 | */ |
|---|
| 24 | 24 | |
|---|
| 25 | 25 | #include <linux/module.h> |
|---|
| 26 | +#include <linux/pci.h> |
|---|
| 26 | 27 | |
|---|
| 27 | | -#include <drm/drmP.h> |
|---|
| 28 | +#include <drm/drm_drv.h> |
|---|
| 29 | +#include <drm/drm_file.h> |
|---|
| 30 | +#include <drm/drm_pciids.h> |
|---|
| 28 | 31 | #include <drm/via_drm.h> |
|---|
| 32 | + |
|---|
| 29 | 33 | #include "via_drv.h" |
|---|
| 30 | 34 | |
|---|
| 31 | | -#include <drm/drm_pciids.h> |
|---|
| 32 | 35 | |
|---|
| 33 | 36 | static int via_driver_open(struct drm_device *dev, struct drm_file *file) |
|---|
| 34 | 37 | { |
|---|
| .. | .. |
|---|
| 70 | 73 | |
|---|
| 71 | 74 | static struct drm_driver driver = { |
|---|
| 72 | 75 | .driver_features = |
|---|
| 73 | | - DRIVER_USE_AGP | DRIVER_HAVE_IRQ | DRIVER_LEGACY | |
|---|
| 74 | | - DRIVER_IRQ_SHARED, |
|---|
| 76 | + DRIVER_USE_AGP | DRIVER_HAVE_IRQ | DRIVER_LEGACY, |
|---|
| 75 | 77 | .load = via_driver_load, |
|---|
| 76 | 78 | .unload = via_driver_unload, |
|---|
| 77 | 79 | .open = via_driver_open, |
|---|