Paul Mundt | f655f5e | 2010-01-28 15:08:21 +0900 | [diff] [blame^] | 1 | /* |
| 2 | * arch/sh/boards/titan/setup.c - Setup for Titan |
| 3 | * |
| 4 | * Copyright (C) 2006 Jamie Lenehan |
| 5 | * |
| 6 | * This file is subject to the terms and conditions of the GNU General Public |
| 7 | * License. See the file "COPYING" in the main directory of this archive |
| 8 | * for more details. |
| 9 | */ |
| 10 | #include <linux/init.h> |
| 11 | #include <linux/irq.h> |
| 12 | #include <mach/titan.h> |
| 13 | #include <asm/io.h> |
| 14 | |
| 15 | static void __init init_titan_irq(void) |
| 16 | { |
| 17 | /* enable individual interrupt mode for externals */ |
| 18 | plat_irq_setup_pins(IRQ_MODE_IRQ); |
| 19 | } |
| 20 | |
| 21 | static struct sh_machine_vector mv_titan __initmv = { |
| 22 | .mv_name = "Titan", |
| 23 | .mv_init_irq = init_titan_irq, |
| 24 | }; |