summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2013-07-24 19:57:03 +0200
committerJonathan Gray <jsg@jsg.id.au>2013-08-12 10:46:35 +1000
commit182b8370ae37db3bd47351f4aa043780ca4ea761 (patch)
treee3e09df424c165cdafdb138c38879d499d6b8399 /sys/dev
parent1593eab1f9410cbfe258083b8059f0ecdeb40950 (diff)
include proper header for prototype of drm_fb_helper_restore
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/radeon/radeon_kms.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c
index 34607fa4f9a..3cf732e9729 100644
--- a/sys/dev/pci/drm/radeon/radeon_kms.c
+++ b/sys/dev/pci/drm/radeon/radeon_kms.c
@@ -26,12 +26,11 @@
* Jerome Glisse
*/
#include <dev/pci/drm/drmP.h>
+#include <dev/pci/drm/drm_fb_helper.h>
#include "radeon.h"
#include <dev/pci/drm/radeon_drm.h>
#include "radeon_asic.h"
-void drm_fb_helper_restore(void);
-
/* can't include radeon_drv.h due to duplicated defines in radeon_reg.h */
#define DRIVER_NAME "radeon"