ux500: modem_irq is only for 5500
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> [Modified to hit the right file] Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
This commit is contained in:
parent
abf12d719a
commit
5ec65521c9
|
@ -12,6 +12,8 @@
|
|||
#include <linux/io.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
#include <mach/id.h>
|
||||
|
||||
#define MODEM_INTCON_BASE_ADDR 0xBFFD3000
|
||||
#define MODEM_INTCON_SIZE 0xFFF
|
||||
|
||||
|
@ -101,6 +103,9 @@ static int modem_irq_init(void)
|
|||
static struct irq_chip modem_irq_chip;
|
||||
struct modem_irq *mi;
|
||||
|
||||
if (!cpu_is_u5500())
|
||||
return -ENODEV;
|
||||
|
||||
pr_info("modem_irq: Set up IRQ handler for incoming modem IRQ %d\n",
|
||||
IRQ_DB5500_MODEM);
|
||||
|
||||
|
|
Loading…
Reference in New Issue