lkml.org 
[lkml]   [2003]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: genrtc sets owner fields so..
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/
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.022 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site