/[openvortex]/alsa/alsa-kernel/core/rtctimer.c
ViewVC logotype

Diff of /alsa/alsa-kernel/core/rtctimer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by vizard, Sat May 31 02:35:09 2003 UTC revision 1.3 by vizard, Mon Aug 11 00:06:38 2003 UTC
# Line 57  static struct _snd_timer_hardware rtc_hw Line 57  static struct _snd_timer_hardware rtc_hw
57          .stop =         rtctimer_stop,          .stop =         rtctimer_stop,
58  };  };
59    
60  int rtctimer_freq = RTC_FREQ;           /* frequency */  static int rtctimer_freq = RTC_FREQ;            /* frequency */
61  static snd_timer_t *rtctimer;  static snd_timer_t *rtctimer;
62  static atomic_t rtc_inc = ATOMIC_INIT(0);  static atomic_t rtc_inc = ATOMIC_INIT(0);
63  static rtc_task_t rtc_task;  static rtc_task_t rtc_task;
# Line 182  MODULE_PARM_DESC(rtctimer_freq, "timer f Line 182  MODULE_PARM_DESC(rtctimer_freq, "timer f
182    
183  MODULE_LICENSE("GPL");  MODULE_LICENSE("GPL");
184    
185    #ifndef MODULE
186    /* format is: snd-rtctimer=freq */
187    
188    static int __init rtctimer_setup(char *str)
189    {
190            (void)(get_option(&str,&rtctimer_freq) == 2);
191            return 1;
192    }
193    
194    __setup("snd-rtctimer=", rtctimer_setup);
195    #endif /* ifndef MODULE */
196    
197  #endif /* CONFIG_RTC || CONFIG_RTC_MODULE */  #endif /* CONFIG_RTC || CONFIG_RTC_MODULE */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26