mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Convert automotive CDI kernel driver to OOT module. Jira CAMERASW-7592 Change-Id: Ib19ee594cc65f8041f6eba9aff7faefb753b771b Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2780572 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
16 lines
336 B
C
16 lines
336 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
// Copyright (c) 2016-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
#ifndef __CDI_PWM_PRIV_H__
|
|
#define __CDI_PWM_PRIV_H__
|
|
|
|
struct cdi_pwm_info {
|
|
struct pwm_chip chip;
|
|
struct pwm_device *pwm;
|
|
atomic_t in_use;
|
|
struct mutex mutex;
|
|
bool force_on;
|
|
};
|
|
|
|
#endif /* __CDI_PWM_PRIV_H__ */
|