summaryrefslogtreecommitdiff
path: root/bsd/mga_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd/mga_drv.c')
-rw-r--r--bsd/mga_drv.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/bsd/mga_drv.c b/bsd/mga_drv.c
index de0387f7..8b69b41b 100644
--- a/bsd/mga_drv.c
+++ b/bsd/mga_drv.c
@@ -27,10 +27,10 @@
* Authors:
* Rickard E. (Rik) Faith <faith@valinux.com>
* Gareth Hughes <gareth@valinux.com>
- *
- * $FreeBSD: src/sys/dev/drm/mga_drv.c,v 1.4 2003/03/09 02:08:28 anholt Exp $
*/
+#include <sys/types.h>
+
#include "mga.h"
#include "drmP.h"
#include "drm.h"
@@ -63,8 +63,4 @@ drm_chipinfo_t DRM(devicelist)[] = {
#include "drm_vm.h"
#include "drm_sysctl.h"
-#ifdef __FreeBSD__
DRIVER_MODULE(mga, pci, mga_driver, mga_devclass, 0, 0);
-#elif defined(__NetBSD__)
-CFDRIVER_DECL(mga, DV_TTY, NULL);
-#endif