diff options
Diffstat (limited to 'sound/core/rtctimer.c')
| -rw-r--r-- | sound/core/rtctimer.c | 9 | 
1 files changed, 4 insertions, 5 deletions
diff --git a/sound/core/rtctimer.c b/sound/core/rtctimer.c index 0851cd13e30..f3420d11a12 100644 --- a/sound/core/rtctimer.c +++ b/sound/core/rtctimer.c @@ -22,12 +22,12 @@  #include <linux/init.h>  #include <linux/interrupt.h> -#include <linux/moduleparam.h> +#include <linux/module.h>  #include <linux/log2.h>  #include <sound/core.h>  #include <sound/timer.h> -#if defined(CONFIG_RTC) || defined(CONFIG_RTC_MODULE) +#if IS_ENABLED(CONFIG_RTC)  #include <linux/mc146818rtc.h> @@ -132,8 +132,7 @@ static int __init rtctimer_init(void)  	if (rtctimer_freq < 2 || rtctimer_freq > 8192 ||  	    !is_power_of_2(rtctimer_freq)) { -		snd_printk(KERN_ERR "rtctimer: invalid frequency %d\n", -			   rtctimer_freq); +		pr_err("ALSA: rtctimer: invalid frequency %d\n", rtctimer_freq);  		return -EINVAL;  	} @@ -185,4 +184,4 @@ MODULE_LICENSE("GPL");  MODULE_ALIAS("snd-timer-" __stringify(SNDRV_TIMER_GLOBAL_RTC)); -#endif /* CONFIG_RTC || CONFIG_RTC_MODULE */ +#endif /* IS_ENABLED(CONFIG_RTC) */  | 
