static irqreturn_t fimc_irq(int irq, void *dev_id) { struct fimc_control *ctrl = (struct fimc_control *) dev_id; if (ctrl->cap) fimc_irq_cap(ctrl); else if (ctrl->out) fimc_irq_out(ctrl); return IRQ_HANDLED; }
static irqreturn_t fimc_irq(int irq, void *dev_id) { struct fimc_control *ctrl = (struct fimc_control *) dev_id; #ifdef VIEW_FUNCTION_CALL printk("[FIMC_DEV] %s(%d)\n", __func__, __LINE__); #endif if (ctrl->cap) fimc_irq_cap(ctrl); else if (ctrl->out) fimc_irq_out(ctrl); return IRQ_HANDLED; }