diff options
Diffstat (limited to 'include/sound/core.h')
| -rw-r--r-- | include/sound/core.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index 4fc0235ad784..695ee53488a3 100644 --- a/include/sound/core.h +++ b/include/sound/core.h | |||
| @@ -277,8 +277,8 @@ int snd_minor_info_done(void); | |||
| 277 | int snd_minor_info_oss_init(void); | 277 | int snd_minor_info_oss_init(void); |
| 278 | int snd_minor_info_oss_done(void); | 278 | int snd_minor_info_oss_done(void); |
| 279 | #else | 279 | #else |
| 280 | #define snd_minor_info_oss_init() /*NOP*/ | 280 | static inline int snd_minor_info_oss_init(void) { return 0; } |
| 281 | #define snd_minor_info_oss_done() /*NOP*/ | 281 | static inline int snd_minor_info_oss_done(void) { return 0; } |
| 282 | #endif | 282 | #endif |
| 283 | 283 | ||
| 284 | /* memory.c */ | 284 | /* memory.c */ |
| @@ -310,7 +310,7 @@ int snd_card_file_add(struct snd_card *card, struct file *file); | |||
| 310 | int snd_card_file_remove(struct snd_card *card, struct file *file); | 310 | int snd_card_file_remove(struct snd_card *card, struct file *file); |
| 311 | 311 | ||
| 312 | #ifndef snd_card_set_dev | 312 | #ifndef snd_card_set_dev |
| 313 | #define snd_card_set_dev(card,devptr) ((card)->dev = (devptr)) | 313 | #define snd_card_set_dev(card, devptr) ((card)->dev = (devptr)) |
| 314 | #endif | 314 | #endif |
| 315 | 315 | ||
| 316 | /* device.c */ | 316 | /* device.c */ |
| @@ -373,7 +373,7 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...) | |||
| 373 | * snd_printd - debug printk | 373 | * snd_printd - debug printk |
| 374 | * @fmt: format string | 374 | * @fmt: format string |
| 375 | * | 375 | * |
| 376 | * Compiled only when Works like snd_printk() for debugging purpose. | 376 | * Works like snd_printk() for debugging purposes. |
| 377 | * Ignored when CONFIG_SND_DEBUG is not set. | 377 | * Ignored when CONFIG_SND_DEBUG is not set. |
| 378 | */ | 378 | */ |
| 379 | #define snd_printd(fmt, args...) \ | 379 | #define snd_printd(fmt, args...) \ |
| @@ -417,7 +417,7 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...) | |||
| 417 | * snd_printdd - debug printk | 417 | * snd_printdd - debug printk |
| 418 | * @format: format string | 418 | * @format: format string |
| 419 | * | 419 | * |
| 420 | * Compiled only when Works like snd_printk() for debugging purpose. | 420 | * Works like snd_printk() for debugging purposes. |
| 421 | * Ignored when CONFIG_SND_DEBUG_DETECT is not set. | 421 | * Ignored when CONFIG_SND_DEBUG_DETECT is not set. |
| 422 | */ | 422 | */ |
| 423 | #define snd_printdd(format, args...) snd_printk(format, ##args) | 423 | #define snd_printdd(format, args...) snd_printk(format, ##args) |
