diff options
Diffstat (limited to 'bsd/r128_drv.c')
-rw-r--r-- | bsd/r128_drv.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bsd/r128_drv.c b/bsd/r128_drv.c index 1a8046fb..8a9c2837 100644 --- a/bsd/r128_drv.c +++ b/bsd/r128_drv.c @@ -29,9 +29,6 @@ * Gareth Hughes <gareth@valinux.com> */ - -#include <sys/types.h> - #include "r128.h" #include "drmP.h" #include "drm.h" @@ -83,4 +80,8 @@ 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__ */ |