From 5cbf2fb24232034d211dbcd1c6719bea3930d38f Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Mon, 5 Dec 2011 16:10:15 +0000 Subject: regmap: Add irq_base accessor to regmap_irq Allows devices to discover their own interrupt without having to remember it themselves. Signed-off-by: Mark Brown (cherry picked from commit 209a600623cf13a8168b2f6b83643db7825abb9a) Change-Id: I3f70623a25a7f67cf121e3bba764c27f18d4c3dd Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/87574 --- include/linux/regmap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/regmap.h') diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 0daf7ea53a62..534e07d0f317 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -197,5 +197,6 @@ int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, int irq_base, struct regmap_irq_chip *chip, struct regmap_irq_chip_data **data); void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data); +int regmap_irq_chip_get_base(struct regmap_irq_chip_data *data); #endif -- cgit v1.2.3