mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Use SPDX license GPL-V2.0 format and change Nvidia copyright year to include 2023. Bug 4078035 Change-Id: Icc0060431eb8d9c470a44f4cee50913cc1d8048a Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2890656 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Arun Swain <arswain@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
23 lines
501 B
C
23 lines
501 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
|
|
*/
|
|
|
|
#ifndef DCE_WORKQUEUE_H
|
|
#define DCE_WORKQUEUE_H
|
|
|
|
#include <linux/workqueue.h>
|
|
|
|
struct dce_work_struct {
|
|
struct tegra_dce *d;
|
|
struct work_struct work;
|
|
void (*dce_work_fn)(struct tegra_dce *d);
|
|
};
|
|
|
|
int dce_init_work(struct tegra_dce *d,
|
|
struct dce_work_struct *work,
|
|
void (*work_fn)(struct tegra_dce *d));
|
|
void dce_schedule_work(struct dce_work_struct *work);
|
|
|
|
#endif
|