disp: msm: sde rotator driver configs for probe only

Added code for dummy probe defined under
CONFIG_SDE_ROTATOR_INIT_ONLY to address cases where
rotator device node is defined but driver needs to be
disabled. This is stop gap arrangement until v4l2
configs are available in GKI.

Change-Id: I069b37f818d2e4401b3992f1f1e308858a7e29e6
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
This commit is contained in:
Raviteja Tamatam
2020-09-24 04:35:11 +05:30
szülő 8f16ccc93b
commit 74dd4682cd
2 fájl változott, egészen pontosan 36 új sor hozzáadva és 2 régi sor törölve

Fájl megtekintése

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
*/
#ifndef __SDE_ROTATOR_DEV_H__
@@ -215,7 +215,9 @@ struct sde_rotator_device {
struct device *dev;
struct v4l2_device v4l2_dev;
struct video_device *vdev;
#ifndef CONFIG_MSM_SDE_ROTATOR_INIT_ONLY
struct v4l2_m2m_dev *m2m_dev;
#endif
struct platform_device *pdev;
const void *drvdata;
u32 early_submit;