board-edosk7760.c (a9de18eb761f7c1c860964b2e5addc1a35c7e861) | board-edosk7760.c (95d210ce6b23ec8916f97ec0cc7eb4d5fa80e0b3) |
---|---|
1/* 2 * Renesas Europe EDOSK7760 Board Support 3 * 4 * Copyright (C) 2008 SPES Societa' Progettazione Elettronica e Software Ltd. 5 * Author: Luca Santini <luca.santini@spesonline.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 168 unchanged lines hidden (view full) --- 177 178static int __init init_edosk7760_devices(void) 179{ 180 plat_irq_setup_pins(IRQ_MODE_IRQ); 181 182 return platform_add_devices(edosk7760_devices, 183 ARRAY_SIZE(edosk7760_devices)); 184} | 1/* 2 * Renesas Europe EDOSK7760 Board Support 3 * 4 * Copyright (C) 2008 SPES Societa' Progettazione Elettronica e Software Ltd. 5 * Author: Luca Santini <luca.santini@spesonline.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 168 unchanged lines hidden (view full) --- 177 178static int __init init_edosk7760_devices(void) 179{ 180 plat_irq_setup_pins(IRQ_MODE_IRQ); 181 182 return platform_add_devices(edosk7760_devices, 183 ARRAY_SIZE(edosk7760_devices)); 184} |
185__initcall(init_edosk7760_devices); | 185device_initcall(init_edosk7760_devices); |
186 187/* 188 * The Machine Vector 189 */ 190struct sh_machine_vector mv_edosk7760 __initmv = { 191 .mv_name = "EDOSK7760", 192 .mv_nr_irqs = 128, 193}; | 186 187/* 188 * The Machine Vector 189 */ 190struct sh_machine_vector mv_edosk7760 __initmv = { 191 .mv_name = "EDOSK7760", 192 .mv_nr_irqs = 128, 193}; |