From 9b2b2337b3caa006fa95eecb966b8a68eed83b90 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 24 Apr 2003 00:46:03 +0000 Subject: Move one definition to drm_drv.h and remove the rest of drm_init.h which was all unused. --- bsd/tdfx_drv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bsd/tdfx_drv.c') diff --git a/bsd/tdfx_drv.c b/bsd/tdfx_drv.c index 8bc8c57d..967941ac 100644 --- a/bsd/tdfx_drv.c +++ b/bsd/tdfx_drv.c @@ -28,11 +28,10 @@ * Rickard E. (Rik) Faith * Daryll Strauss * Gareth Hughes + * + * $FreeBSD: src/sys/dev/drm/tdfx_drv.c,v 1.3 2003/03/09 02:08:28 anholt Exp $ */ - -#include - #include "tdfx.h" #include "drmP.h" @@ -87,7 +86,6 @@ drm_chipinfo_t DRM(devicelist)[] = { #include "drm_fops.h" -#include "drm_init.h" #include "drm_ioctl.h" #include "drm_lock.h" #include "drm_memory.h" @@ -96,4 +94,6 @@ drm_chipinfo_t DRM(devicelist)[] = { #ifdef __FreeBSD__ DRIVER_MODULE(tdfx, pci, tdfx_driver, tdfx_devclass, 0, 0); +#elif defined(__NetBSD__) +CFDRIVER_DECL(tdfx, DV_TTY, NULL); #endif /* __FreeBSD__ */ -- cgit v1.2.3