that way we don't need to access the global
pointer
Signed-off-by: Felipe Balbi <[email protected]>
---
drivers/cbus/tahvo.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/cbus/tahvo.c b/drivers/cbus/tahvo.c
index 3a77d12..740bb05 100644
--- a/drivers/cbus/tahvo.c
+++ b/drivers/cbus/tahvo.c
@@ -182,11 +182,11 @@ void tahvo_set_backlight_level(int level)
}
EXPORT_SYMBOL(tahvo_set_backlight_level);
-static irqreturn_t tahvo_irq_handler(int irq, void *dev_id)
+static irqreturn_t tahvo_irq_handler(int irq, void *_tahvo)
{
struct tahvo_irq_handler_desc *hnd;
- struct tahvo *tahvo = the_tahvo;
+ struct tahvo *tahvo = _tahvo;
u16 id;
u16 im;
int i;
@@ -329,7 +329,7 @@ static int __devinit tahvo_probe(struct platform_device
*pdev)
ret = request_threaded_irq(irq, NULL, tahvo_irq_handler,
IRQF_TRIGGER_RISING | IRQF_ONESHOT,
- "tahvo", 0);
+ "tahvo", tahvo);
if (ret < 0) {
dev_err(&pdev->dev, "Unable to register IRQ handler\n");
goto err1;
--
1.7.6.396.ge0613
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html