c39f472e9f
The symlinks were annoying some people, and they're not used anywhere else in the kernel tree. The include directory structure has been changed so that symlinks aren't needed anymore. NVKM has been moved from core/ to nvkm/ to make it more obvious as to what the directory is for, and as some minor prep for when NVKM gets split out into its own module (virt) at a later date. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
31 lines
846 B
C
31 lines
846 B
C
#ifndef __NOUVEAU_FUSE_H__
|
|
#define __NOUVEAU_FUSE_H__
|
|
|
|
#include <core/subdev.h>
|
|
#include <core/device.h>
|
|
|
|
struct nouveau_fuse {
|
|
struct nouveau_subdev base;
|
|
};
|
|
|
|
static inline struct nouveau_fuse *
|
|
nouveau_fuse(void *obj)
|
|
{
|
|
return (void *)nouveau_subdev(obj, NVDEV_SUBDEV_FUSE);
|
|
}
|
|
|
|
#define nouveau_fuse_create(p, e, o, d) \
|
|
nouveau_fuse_create_((p), (e), (o), sizeof(**d), (void **)d)
|
|
|
|
int nouveau_fuse_create_(struct nouveau_object *, struct nouveau_object *,
|
|
struct nouveau_oclass *, int, void **);
|
|
void _nouveau_fuse_dtor(struct nouveau_object *);
|
|
int _nouveau_fuse_init(struct nouveau_object *);
|
|
#define _nouveau_fuse_fini _nouveau_subdev_fini
|
|
|
|
extern struct nouveau_oclass g80_fuse_oclass;
|
|
extern struct nouveau_oclass gf100_fuse_oclass;
|
|
extern struct nouveau_oclass gm107_fuse_oclass;
|
|
|
|
#endif
|