aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2010-12-08 00:38:00 -0500
committerLinus Walleij <linus.walleij@stericsson.com>2011-01-10 12:34:53 -0500
commit5ec65521c99178a87f4c859101a92c36f4701fd7 (patch)
tree1121e652282a3584f4116ebe017c2745aca98250 /arch/arm
parentabf12d719a2c9e45f7f90c02a3a25107206ed57a (diff)
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-ux500/modem-irq-db5500.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/modem-irq-db5500.c b/arch/arm/mach-ux500/modem-irq-db5500.c
index 3187f8871169..e1296a7447c8 100644
--- a/arch/arm/mach-ux500/modem-irq-db5500.c
+++ b/arch/arm/mach-ux500/modem-irq-db5500.c
@@ -12,6 +12,8 @@
12#include <linux/io.h> 12#include <linux/io.h>
13#include <linux/slab.h> 13#include <linux/slab.h>
14 14
15#include <mach/id.h>
16
15#define MODEM_INTCON_BASE_ADDR 0xBFFD3000 17#define MODEM_INTCON_BASE_ADDR 0xBFFD3000
16#define MODEM_INTCON_SIZE 0xFFF 18#define MODEM_INTCON_SIZE 0xFFF
17 19
@@ -101,6 +103,9 @@ static int modem_irq_init(void)
101 static struct irq_chip modem_irq_chip; 103 static struct irq_chip modem_irq_chip;
102 struct modem_irq *mi; 104 struct modem_irq *mi;
103 105
106 if (!cpu_is_u5500())
107 return -ENODEV;
108
104 pr_info("modem_irq: Set up IRQ handler for incoming modem IRQ %d\n", 109 pr_info("modem_irq: Set up IRQ handler for incoming modem IRQ %d\n",
105 IRQ_DB5500_MODEM); 110 IRQ_DB5500_MODEM);
106 111