1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVKM_FALCON_PRIV_H__
3 #define __NVKM_FALCON_PRIV_H__
4 #include <core/falcon.h>
5 
6 static inline int
nvkm_falcon_enable(struct nvkm_falcon * falcon)7 nvkm_falcon_enable(struct nvkm_falcon *falcon)
8 {
9 	if (falcon->func->enable)
10 		return falcon->func->enable(falcon);
11 	return 0;
12 }
13 #endif
14