Turing has its SEC2 instance in an alternate location, and this avoids needing to duplicate the code here for it. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
10 lines
274 B
C
10 lines
274 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __NVKM_SEC2_PRIV_H__
|
|
#define __NVKM_SEC2_PRIV_H__
|
|
#include <engine/sec2.h>
|
|
|
|
#define nvkm_sec2(p) container_of((p), struct nvkm_sec2, engine)
|
|
|
|
int nvkm_sec2_new_(struct nvkm_device *, int, u32 addr, struct nvkm_sec2 **);
|
|
#endif
|