From: Durgadoss R Date: Tue, 6 Dec 2011 16:08:45 +0000 (+0530) Subject: EM/THERMAL: Initialize irq for msic_thermal in intel_msic.c X-Git-Tag: 2.1b_release~1715 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=774d465f98a18290d3f466800e0c23bb783e7383;p=kernel%2Fkernel-mfld-blackbay.git EM/THERMAL: Initialize irq for msic_thermal in intel_msic.c BZ: 15135 This patch adds the irq entry necessary for platform thermal driver. Since there is no IRQ for this driver, 0xff is assigned. This is due to change in mrst.c from K2.6.35 to K3.0. Without this change the intel_mid_thermal.c driver will not load in K3.0. Change-Id: Idd9a88c026a95623cfe7de79b722b3138fca2b71 [Ported to R3]Change-Id: Ifdceafacf40fa9a795bd8c52172985071b578d29 Signed-off-by: Durgadoss R Reviewed-on: http://android.intel.com:8080/29249 Reviewed-by: Gugwad, SantoshX Tested-by: Gugwad, SantoshX Reviewed-by: buildbot Tested-by: buildbot --- diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c index 1340e06..db46741 100644 --- a/drivers/mfd/intel_msic.c +++ b/drivers/mfd/intel_msic.c @@ -346,6 +346,9 @@ static int __devinit intel_msic_init_devices(struct intel_msic *msic) cell->pdata_size = sizeof(*pdata->gpadc); } + /* No IRQ for msic_thermal. So assign 0xff */ + pdata->irq[INTEL_MSIC_BLOCK_THERMAL] = 0xff; + for (i = 0; i < ARRAY_SIZE(msic_devs); i++) { if (!pdata->irq[i]) continue;