]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - drivers/gpu/drm/nouveau/nvkm/subdev/fuse/priv.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-focal-kernel.git] / drivers / gpu / drm / nouveau / nvkm / subdev / fuse / priv.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
3ca6cd43
MP
2#ifndef __NVKM_FUSE_PRIV_H__
3#define __NVKM_FUSE_PRIV_H__
c5fcafa5 4#define nvkm_fuse(p) container_of((p), struct nvkm_fuse, subdev)
3ca6cd43
MP
5#include <subdev/fuse.h>
6
c5fcafa5
BS
7struct nvkm_fuse_func {
8 u32 (*read)(struct nvkm_fuse *, u32 addr);
9};
10
11int nvkm_fuse_new_(const struct nvkm_fuse_func *, struct nvkm_device *,
12 int index, struct nvkm_fuse **);
3ca6cd43 13#endif