timer.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) | timer.c (63893ea5304c919656613a47b04e35c6814d9041) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> 7 */ 8 --- 181 unchanged lines hidden (view full) --- 190 191 periph_clk = clk_get(NULL, "periph"); 192 if (IS_ERR(periph_clk)) 193 return -ENODEV; 194 195 irq = bcm63xx_get_irq_number(IRQ_TIMER); 196 ret = request_irq(irq, timer_interrupt, 0, "bcm63xx_timer", NULL); 197 if (ret) { | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr> 7 */ 8 --- 181 unchanged lines hidden (view full) --- 190 191 periph_clk = clk_get(NULL, "periph"); 192 if (IS_ERR(periph_clk)) 193 return -ENODEV; 194 195 irq = bcm63xx_get_irq_number(IRQ_TIMER); 196 ret = request_irq(irq, timer_interrupt, 0, "bcm63xx_timer", NULL); 197 if (ret) { |
198 printk(KERN_ERR "bcm63xx_timer: failed to register irq\n"); | 198 pr_err("%s: failed to register irq\n", __func__); |
199 return ret; 200 } 201 202 return 0; 203} 204 205arch_initcall(bcm63xx_timer_init); | 199 return ret; 200 } 201 202 return 0; 203} 204 205arch_initcall(bcm63xx_timer_init); |