Re: [PATCH v3 1/2] mfd: add irq domain support for max8997 interrupts

From: Greg KH
Date: Fri May 18 2012 - 19:59:19 EST


On Wed, May 16, 2012 at 04:41:44PM +0900, Chanwoo Choi wrote:
> From: Thomas Abraham <thomas.abraham@xxxxxxxxxx>
>
> Add irq domain support for max8997 interrupts. The reverse mapping method
> used is linear mapping since the sub-drivers of max8997 such as regulator
> and charger drivers can use the max8997 irq_domain to get the linux irq
> number for max8997 interrupts. All uses of irq_base in platform data and
> max8997 driver private data are removed.
>
> Signed-off-by: Thomas Abraham <thomas.abraham@xxxxxxxxxx>
> Acked-by: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>
> Acked-by: Grant Likely <grant.likely@xxxxxxxxxxxx>
> Acked-by: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> [Fix two bug which set max8997->irq_domain and correct wrong parameter]
> Signed-off-by: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>

Same problem as before, I apply this and it breaks the build with the
following errors:

drivers/extcon/extcon-max8997.c: In function âmax8997_muic_irq_workâ:
drivers/extcon/extcon-max8997.c:350:36: error: âstruct max8997_devâ has no member named âirq_baseâ
drivers/extcon/extcon-max8997.c: In function âmax8997_muic_probeâ:
drivers/extcon/extcon-max8997.c:452:35: error: âstruct max8997_platform_dataâ has no member named âirq_baseâ
drivers/extcon/extcon-max8997.c: In function âmax8997_muic_removeâ:
drivers/extcon/extcon-max8997.c:514:19: error: âstruct max8997_devâ has no member named âirq_baseâ

Please fix.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/