msm: camera: common: Change get irq resources method

Get irq resources method changed between kernel verion
5.15 and 5.18.

CRs-Fixed: 3258913
Change-Id: Ica0ed0feac55e99f6f88b0b6e56540fb98ed0311
Signed-off-by: zhuo <quic_zhuo@quicinc.com>
This commit is contained in:
zhuo
2022-07-27 18:56:06 +08:00
committed by Camera Software Integration
parent 3e05e54587
commit ab10a69b93
6 changed files with 51 additions and 20 deletions

View File

@@ -154,6 +154,7 @@ struct cam_soc_gpio_data {
* @irq_name: Name of the irq associated with the device
* @label_name: label name
* @irq_line: Irq resource
* @irq_num: Irq number
* @irq_data: Private data that is passed when IRQ is requested
* @compatible: Compatible string associated with the device
* @num_mem_block: Number of entry in the "reg-names"
@@ -218,6 +219,7 @@ struct cam_hw_soc_info {
const char *irq_name;
const char *label_name;
struct resource *irq_line;
int irq_num;
void *irq_data;
const char *compatible;