aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_sysfs.h
blob: f973378160f8ca3410f06ad1fc1f4f7da6bd1816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __NOUVEAU_SYSFS_H__
#define __NOUVEAU_SYSFS_H__

#include "nouveau_drm.h"

struct nouveau_sysfs {
	struct nvif_object ctrl;
};

static inline struct nouveau_sysfs *
nouveau_sysfs(struct drm_device *dev)
{
	return nouveau_drm(dev)->sysfs;
}

int  nouveau_sysfs_init(struct drm_device *);
void nouveau_sysfs_fini(struct drm_device *);

#endif