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; |
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 */ |