diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-06 05:21:25 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-04-06 05:21:25 +0000 |
commit | 30d2301bee983c6d2ad9187c47dbea24affa73e6 (patch) | |
tree | debfc0f6c45719d9b52ac9c494c593d53e3e2316 /sys/dev/pci/drm | |
parent | 8a6314634cf9aa6f5a9b3d29eb7ff11f32f33ac5 (diff) |
Don't forget to TAILQ_INIT() the heap...
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r-- | sys/dev/pci/drm/sis_drv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/sis_drv.c b/sys/dev/pci/drm/sis_drv.c index 1b260540b7e..897e3ca1c99 100644 --- a/sys/dev/pci/drm/sis_drv.c +++ b/sys/dev/pci/drm/sis_drv.c @@ -108,6 +108,9 @@ sisdrm_attach(struct device *parent, struct device *self, void *aux) NULL, NULL); printf("\n"); + TAILQ_INIT(&dev_priv->agp_heap); + TAILQ_INIT(&dev_priv->fb_heap); + dev_priv->drmdev = drm_attach_pci(&sis_driver, pa, is_agp, self); } |