The bulk SPDX addition made all these files into GPL-2.0 licensed files.
However the remainder of the project is MIT-licensed, these files
(primarily header files) were simply missing the boiler plate and got
caught up in the global update.
Fixes: b24413180f
(License cleanup: add SPDX GPL-2.0 license identifier to files with no license)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
20 lines
562 B
C
20 lines
562 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef __NVKM_DMA_PRIV_H__
|
|
#define __NVKM_DMA_PRIV_H__
|
|
#define nvkm_dma(p) container_of((p), struct nvkm_dma, engine)
|
|
#include <engine/dma.h>
|
|
|
|
struct nvkm_dmaobj_func {
|
|
int (*bind)(struct nvkm_dmaobj *, struct nvkm_gpuobj *, int align,
|
|
struct nvkm_gpuobj **);
|
|
};
|
|
|
|
int nvkm_dma_new_(const struct nvkm_dma_func *, struct nvkm_device *,
|
|
int index, struct nvkm_dma **);
|
|
|
|
struct nvkm_dma_func {
|
|
int (*class_new)(struct nvkm_dma *, const struct nvkm_oclass *,
|
|
void *data, u32 size, struct nvkm_dmaobj **);
|
|
};
|
|
#endif
|