msm: qdsp5v2: Use IORESOURCE_IRQ to retrieve interrupt number
Moved platform device for ADSP to target specific devices file.
Add the interrupt value in adsp_info structure. Now IRQ resources
can be fetched run-time at probe function. No need to maintain
hardcoded macro values within the driver.
Change-Id: Id15704a4ff3c9acc1e321e59ff307f9ad8196dfa
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
diff --git a/arch/arm/mach-msm/qdsp5v2/adsp.h b/arch/arm/mach-msm/qdsp5v2/adsp.h
index 18f4046..5aceff9 100644
--- a/arch/arm/mach-msm/qdsp5v2/adsp.h
+++ b/arch/arm/mach-msm/qdsp5v2/adsp.h
@@ -229,6 +229,9 @@
void *handle;
void *cb_handle;
+
+ /* Interrupt value */
+ int int_adsp;
};
#define ADSP_STATE_DISABLED 0