msm: camera: common: Use the appropriate header for spinlock
With the allow list tightened, use the right header for spinlock usage. Change replaces usage of linux/spinlock.h to linux/spinlock_types.h. CRs-Fixed: 2841729 Change-Id: I0247501b765436099f75c9725e9f614f0873c888 Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _CAM_CONTEXT_H_
|
||||
#define _CAM_CONTEXT_H_
|
||||
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include <linux/kref.h>
|
||||
#include "cam_req_mgr_interface.h"
|
||||
#include "cam_hw_mgr_intf.h"
|
||||
|
@@ -6,7 +6,7 @@
|
||||
#ifndef _CAM_CUSTOM_CONTEXT_H_
|
||||
#define _CAM_CUSTOM_CONTEXT_H_
|
||||
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
|
||||
#include <media/cam_custom.h>
|
||||
#include <media/cam_defs.h>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include <linux/workqueue.h>
|
||||
#include <linux/timer.h>
|
||||
#include <linux/bitops.h>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#define _CAM_ISP_CONTEXT_H_
|
||||
|
||||
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include <media/cam_isp.h>
|
||||
#include <media/cam_defs.h>
|
||||
#include <media/cam_tfe.h>
|
||||
|
@@ -1,10 +1,10 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/slab.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/ratelimit.h>
|
||||
|
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/slab.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/ratelimit.h>
|
||||
|
||||
|
@@ -1,12 +1,12 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _CAM_SFE_CORE_H_
|
||||
#define _CAM_SFE_CORE_H_
|
||||
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include "cam_hw_intf.h"
|
||||
#include "cam_sfe_hw_intf.h"
|
||||
#include "cam_sfe_bus.h"
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#ifndef _CAM_TFE_CORE_H_
|
||||
#define _CAM_TFE_CORE_H_
|
||||
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include "cam_hw_intf.h"
|
||||
#include "cam_tfe_bus.h"
|
||||
#include "cam_tfe_hw_intf.h"
|
||||
|
@@ -6,7 +6,7 @@
|
||||
#ifndef _CAM_VFE_CORE_H_
|
||||
#define _CAM_VFE_CORE_H_
|
||||
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include "cam_hw_intf.h"
|
||||
#include "cam_vfe_top.h"
|
||||
#include "cam_vfe_bus.h"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/uaccess.h>
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include <linux/timer.h>
|
||||
#include <linux/debugfs.h>
|
||||
#include <media/cam_defs.h>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/uaccess.h>
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include <linux/workqueue.h>
|
||||
#include <linux/timer.h>
|
||||
#include <linux/bitops.h>
|
||||
|
@@ -5,7 +5,7 @@
|
||||
#ifndef _CAM_REQ_MGR_CORE_H_
|
||||
#define _CAM_REQ_MGR_CORE_H_
|
||||
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include "cam_req_mgr_interface.h"
|
||||
#include "cam_req_mgr_core_defs.h"
|
||||
#include "cam_req_mgr_timer.h"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) "CAM-REQ-MGR_UTIL %s:%d " fmt, __func__, __LINE__
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
#include <linux/random.h>
|
||||
#include <media/cam_req_mgr.h>
|
||||
#include "cam_req_mgr_util.h"
|
||||
|
Reference in New Issue
Block a user