commit | b46c2088da17b8f9210bf0860af88ec533435af9 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Mon Feb 01 01:40:51 2016 -0800 |
committer | Bin Meng <bmeng.cn@gmail.com> | Fri Feb 05 12:47:22 2016 +0800 |
tree | c2e9ffbc748c23bcf12c9d1029b31d6b8e173b5f | |
parent | 819133d9f591bfc187218342702b2ff69eecca25 [diff] |
x86: irq: Move irq_router to a per driver priv At present irq_router is declared as a static struct irq_router in arch/x86/cpu/irq.c. Since it's a driver control block, it makes sense to move it to a per driver priv. Adjust existing APIs to accept an additional parameter of irq_router's udevice. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>