Skip to contentSkip to conversation

drivers/char/genrt: make a struct static

PATCH New Adrian Bunk 1 participant 1 message Dec 5, 2004 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/char/genrt: make a struct static

The patch below makes a needlessly global struct static.

drivers/char/genrtc.c renamed from drivers/char/genrtc.c.old +1 -1
@@ -83,7 +83,7 @@
 static int irq_active;
 
 #ifdef CONFIG_GEN_RTC_X
-struct work_struct genrtc_task;
+static struct work_struct genrtc_task;
 static struct timer_list timer_task;
 
 static unsigned int oldsecs;