mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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>
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
#ifndef __NOUVEAU_DEVINIT_H__
|
|
#define __NOUVEAU_DEVINIT_H__
|
|
|
|
#include <core/subdev.h>
|
|
#include <core/device.h>
|
|
|
|
struct nouveau_devinit {
|
|
struct nouveau_subdev base;
|
|
bool post;
|
|
void (*meminit)(struct nouveau_devinit *);
|
|
int (*pll_set)(struct nouveau_devinit *, u32 type, u32 freq);
|
|
u32 (*mmio)(struct nouveau_devinit *, u32 addr);
|
|
};
|
|
|
|
static inline struct nouveau_devinit *
|
|
nouveau_devinit(void *obj)
|
|
{
|
|
return (void *)nouveau_subdev(obj, NVDEV_SUBDEV_DEVINIT);
|
|
}
|
|
|
|
extern struct nouveau_oclass *nv04_devinit_oclass;
|
|
extern struct nouveau_oclass *nv05_devinit_oclass;
|
|
extern struct nouveau_oclass *nv10_devinit_oclass;
|
|
extern struct nouveau_oclass *nv1a_devinit_oclass;
|
|
extern struct nouveau_oclass *nv20_devinit_oclass;
|
|
extern struct nouveau_oclass *nv50_devinit_oclass;
|
|
extern struct nouveau_oclass *nv84_devinit_oclass;
|
|
extern struct nouveau_oclass *nv98_devinit_oclass;
|
|
extern struct nouveau_oclass *nva3_devinit_oclass;
|
|
extern struct nouveau_oclass *nvaf_devinit_oclass;
|
|
extern struct nouveau_oclass *nvc0_devinit_oclass;
|
|
extern struct nouveau_oclass *gm107_devinit_oclass;
|
|
extern struct nouveau_oclass *gm204_devinit_oclass;
|
|
|
|
#endif
|