rtc-cmos.c (7483d45f0aee3afc0646d185cabd4af9f6cab58c) | rtc-cmos.c (2f6e5f9458646263d3d9ffadd5e11e3d8d15a7d0) |
---|---|
1/* 2 * RTC class driver for "CMOS RTC": PCs, ACPI, etc 3 * 4 * Copyright (C) 1996 Paul Gortmaker (drivers/char/rtc.c) 5 * Copyright (C) 2006 David Brownell (convert to new framework) 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 700 unchanged lines hidden (view full) --- 709 printk(KERN_WARNING "hpet_register_irq_handler " 710 " failed in rtc_init()."); 711 goto cleanup1; 712 } 713 } else 714 rtc_cmos_int_handler = cmos_interrupt; 715 716 retval = request_irq(rtc_irq, rtc_cmos_int_handler, | 1/* 2 * RTC class driver for "CMOS RTC": PCs, ACPI, etc 3 * 4 * Copyright (C) 1996 Paul Gortmaker (drivers/char/rtc.c) 5 * Copyright (C) 2006 David Brownell (convert to new framework) 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 700 unchanged lines hidden (view full) --- 709 printk(KERN_WARNING "hpet_register_irq_handler " 710 " failed in rtc_init()."); 711 goto cleanup1; 712 } 713 } else 714 rtc_cmos_int_handler = cmos_interrupt; 715 716 retval = request_irq(rtc_irq, rtc_cmos_int_handler, |
717 IRQF_DISABLED, dev_name(&cmos_rtc.rtc->dev), | 717 0, dev_name(&cmos_rtc.rtc->dev), |
718 cmos_rtc.rtc); 719 if (retval < 0) { 720 dev_dbg(dev, "IRQ %d is already in use\n", rtc_irq); 721 goto cleanup1; 722 } 723 } 724 hpet_rtc_timer_init(); 725 --- 469 unchanged lines hidden --- | 718 cmos_rtc.rtc); 719 if (retval < 0) { 720 dev_dbg(dev, "IRQ %d is already in use\n", rtc_irq); 721 goto cleanup1; 722 } 723 } 724 hpet_rtc_timer_init(); 725 --- 469 unchanged lines hidden --- |