#define __NOUVEAU_GPUOBJ_H__
 
 #include <core/object.h>
-#ifndef XXX_THIS_IS_A_HACK
 #include <core/device.h>
 #include <core/parent.h>
 #include <core/mm.h>
-#endif
 
 struct nouveau_vma;
 struct nouveau_vm;
        u32 flags;
        u64 addr;
        u32 size;
-
-       /*XXX*/
-       struct drm_device *dev;
-       u32 engine;
-       u32 class;
 };
 
-#ifndef XXX_THIS_IS_A_HACK
 static inline struct nouveau_gpuobj *
 nv_gpuobj(void *obj)
 {
 int nouveau_gpuobj_map_vm(struct nouveau_gpuobj *, struct nouveau_vm *,
                          u32 access, struct nouveau_vma *);
 void nouveau_gpuobj_unmap(struct nouveau_vma *);
-#endif
 
 static inline void
 nouveau_gpuobj_ref(struct nouveau_gpuobj *obj, struct nouveau_gpuobj **ref)
        nouveau_object_ref(&obj->base, (struct nouveau_object **)ref);
 }
 
-#ifndef XXX_THIS_IS_A_HACK
 void _nouveau_gpuobj_dtor(struct nouveau_object *);
 int  _nouveau_gpuobj_init(struct nouveau_object *);
 int  _nouveau_gpuobj_fini(struct nouveau_object *, bool);
 u32  _nouveau_gpuobj_rd32(struct nouveau_object *, u32);
 void _nouveau_gpuobj_wr32(struct nouveau_object *, u32, u32);
-#endif
 
 #endif
 
 #ifndef __NOUVEAU_FB_H__
 #define __NOUVEAU_FB_H__
 
-#ifndef XXX_THIS_IS_A_HACK
 #include <core/subdev.h>
 #include <core/device.h>
-#endif
 #include <core/mm.h>
 
 #include <subdev/vm.h>
        u32 zcomp;
 };
 
-#ifndef XXX_THIS_IS_A_HACK
 struct nouveau_fb {
        struct nouveau_subdev base;
 
 
 void nv50_fb_vram_del(struct nouveau_fb *, struct nouveau_mem **);
 void nv50_fb_trap(struct nouveau_fb *, int display);
-#endif
 
 #endif
 
 #ifndef __NOUVEAU_VM_H__
 #define __NOUVEAU_VM_H__
 
-#ifndef XXX_THIS_IS_A_HACK
 #include <core/object.h>
 #include <core/subdev.h>
 #include <core/device.h>
-#endif
 #include <core/mm.h>
 
-#ifndef XXX_THIS_IS_A_HACK
 struct nouveau_vm_pgt {
        struct nouveau_gpuobj *obj[2];
        u32 refcount[2];
        struct list_head head;
        struct nouveau_gpuobj *obj;
 };
-#endif
 
 struct nouveau_gpuobj;
 struct nouveau_mem;
        u32 lpde;
 };
 
-#ifndef XXX_THIS_IS_A_HACK
 struct nouveau_vmmgr {
        struct nouveau_subdev base;
 
                       u64 mm_offset, u32 block, struct nouveau_vm **);
 int  nouveau_vm_new(struct nouveau_device *, u64 offset, u64 length,
                    u64 mm_offset, struct nouveau_vm **);
-#endif
 int  nouveau_vm_ref(struct nouveau_vm *, struct nouveau_vm **,
                    struct nouveau_gpuobj *pgd);
 int  nouveau_vm_get(struct nouveau_vm *, u64 size, u32 page_shift,