summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/falcon/priv.h
blob: 11a24b9c8569869d763d5f2e4567594c6739c37c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_FALCON_PRIV_H__
#define __NVKM_FALCON_PRIV_H__
#include <core/falcon.h>

static inline int
nvkm_falcon_enable(struct nvkm_falcon *falcon)
{
	if (falcon->func->enable)
		return falcon->func->enable(falcon);
	return 0;
}
#endif