提交 5ec65521 编写于 作者: R Rabin Vincent 提交者: Linus Walleij

ux500: modem_irq is only for 5500

Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com>
[Modified to hit the right file]
Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com>
上级 abf12d71
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <mach/id.h>
#define MODEM_INTCON_BASE_ADDR 0xBFFD3000 #define MODEM_INTCON_BASE_ADDR 0xBFFD3000
#define MODEM_INTCON_SIZE 0xFFF #define MODEM_INTCON_SIZE 0xFFF
...@@ -101,6 +103,9 @@ static int modem_irq_init(void) ...@@ -101,6 +103,9 @@ static int modem_irq_init(void)
static struct irq_chip modem_irq_chip; static struct irq_chip modem_irq_chip;
struct modem_irq *mi; struct modem_irq *mi;
if (!cpu_is_u5500())
return -ENODEV;
pr_info("modem_irq: Set up IRQ handler for incoming modem IRQ %d\n", pr_info("modem_irq: Set up IRQ handler for incoming modem IRQ %d\n",
IRQ_DB5500_MODEM); IRQ_DB5500_MODEM);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册