mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
irqchip/qcom-irq-combiner: Fix section mismatch
Platform drivers can be probed after their init sections have been
discarded so the probe callback must not live in init.
Fixes: f20cc9b00c ("irqchip/qcom: Add IRQ combiner driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
committed by
Thomas Gleixner
parent
f798bdb9aa
commit
9b685058ca
@@ -222,7 +222,7 @@ static int get_registers(struct platform_device *pdev, struct combiner *comb)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __init combiner_probe(struct platform_device *pdev)
|
static int combiner_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct combiner *combiner;
|
struct combiner *combiner;
|
||||||
int nregs;
|
int nregs;
|
||||||
|
|||||||
Reference in New Issue
Block a user