mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
26fdd78cce
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
20 lines
353 B
C
20 lines
353 B
C
#ifndef __NOUVEAU_SYSFS_H__
|
|
#define __NOUVEAU_SYSFS_H__
|
|
|
|
#include "nouveau_drm.h"
|
|
|
|
struct nouveau_sysfs {
|
|
struct nouveau_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
|