2009/5/21 Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>: >> +static irqreturn_t ab3100_irq_handler(int irq, void *data) >> +{ > struct ab3100 *ab3100 = (struct ab3100 *)data; > > you're even passing the ab3100 pointer to request_irq, so it's all set > already. Yeah and all the code was actually the way you wanted it before I started to try to separate local accesses to the struct from accesses coming in from the outside using a singleton pattern. But no problem, I'll fix it back in the way you want it, just a minute! Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html