EM/THERMAL: Initialize irq for msic_thermal in intel_msic.c
authorDurgadoss R <durgadoss.r@intel.com>
Tue, 6 Dec 2011 16:08:45 +0000 (21:38 +0530)
committerbuildbot <buildbot@intel.com>
Wed, 21 Dec 2011 12:37:05 +0000 (04:37 -0800)
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 <durgadoss.r@intel.com>
Reviewed-on: http://android.intel.com:8080/29249
Reviewed-by: Gugwad, SantoshX <santoshx.gugwad@intel.com>
Tested-by: Gugwad, SantoshX <santoshx.gugwad@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/mfd/intel_msic.c

index 1340e06..db46741 100644 (file)
@@ -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;