PATCH: genrtc sets owner fields so..

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 11 Jul 2003 19:05:16 +0100


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.75/drivers/char/genrtc.c linux-2.5.75-ac1/drivers/char/genrtc.c
--- linux-2.5.75/drivers/char/genrtc.c 2003-07-10 21:14:22.000000000 +0100
+++ linux-2.5.75-ac1/drivers/char/genrtc.c 2003-07-11 14:29:57.000000000 +0100
@@ -355,8 +355,6 @@
if (gen_rtc_status & RTC_IS_OPEN)
return -EBUSY;

- MOD_INC_USE_COUNT;
-
gen_rtc_status |= RTC_IS_OPEN;
gen_rtc_irq_data = 0;
irq_active = 0;
@@ -374,8 +372,6 @@
gen_clear_rtc_irq_bit(RTC_PIE|RTC_AIE|RTC_UIE);

gen_rtc_status &= ~RTC_IS_OPEN;
- MOD_DEC_USE_COUNT;
-
return 0;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/