msm: camera: common: Fix types for comparison function
Creates a function to match expectant types for platform device comparisons during component registration. CRs-Fixed: 2584631 Change-Id: Ib07160b8d8f1a370ba535ffdbbc6adbe391c68d5 Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2014-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _CAM_COMPAT_H_
|
||||
#define _CAM_COMPAT_H_
|
||||
|
||||
#include <linux/version.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/component.h>
|
||||
|
||||
#include "cam_csiphy_dev.h"
|
||||
#include "cam_cpastop_hw.h"
|
||||
@@ -37,5 +39,7 @@ void cam_cpastop_scm_write(struct cam_cpas_hw_errata_wa *errata_wa);
|
||||
int cam_ife_notify_safe_lut_scm(bool safe_trigger);
|
||||
int cam_csiphy_notify_secure_mode(struct csiphy_device *csiphy_dev,
|
||||
bool protect, int32_t offset);
|
||||
int camera_component_match_add_drivers(struct device *master_dev,
|
||||
struct component_match **match_list);
|
||||
|
||||
#endif /* _CAM_COMPAT_H_ */
|
||||
|
Reference in New Issue
Block a user