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