ALSA: include/sound/info.h - coding style changed
Change coding style to be more acceptable by checkpatch.pl. Signed-off-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Takashi Iwai
parent
972d4c50fb
commit
fd64138c0e
@@ -40,8 +40,10 @@ struct snd_info_buffer {
|
|||||||
struct snd_info_entry;
|
struct snd_info_entry;
|
||||||
|
|
||||||
struct snd_info_entry_text {
|
struct snd_info_entry_text {
|
||||||
void (*read) (struct snd_info_entry *entry, struct snd_info_buffer *buffer);
|
void (*read)(struct snd_info_entry *entry,
|
||||||
void (*write) (struct snd_info_entry *entry, struct snd_info_buffer *buffer);
|
struct snd_info_buffer *buffer);
|
||||||
|
void (*write)(struct snd_info_entry *entry,
|
||||||
|
struct snd_info_buffer *buffer);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct snd_info_entry_ops {
|
struct snd_info_entry_ops {
|
||||||
@@ -55,10 +57,12 @@ struct snd_info_entry_ops {
|
|||||||
long (*write)(struct snd_info_entry *entry, void *file_private_data,
|
long (*write)(struct snd_info_entry *entry, void *file_private_data,
|
||||||
struct file *file, const char __user *buf,
|
struct file *file, const char __user *buf,
|
||||||
unsigned long count, unsigned long pos);
|
unsigned long count, unsigned long pos);
|
||||||
long long (*llseek) (struct snd_info_entry *entry, void *file_private_data,
|
long long (*llseek)(struct snd_info_entry *entry,
|
||||||
struct file * file, long long offset, int orig);
|
void *file_private_data, struct file *file,
|
||||||
unsigned int (*poll) (struct snd_info_entry *entry, void *file_private_data,
|
long long offset, int orig);
|
||||||
struct file * file, poll_table * wait);
|
unsigned int(*poll)(struct snd_info_entry *entry,
|
||||||
|
void *file_private_data, struct file *file,
|
||||||
|
poll_table *wait);
|
||||||
int (*ioctl)(struct snd_info_entry *entry, void *file_private_data,
|
int (*ioctl)(struct snd_info_entry *entry, void *file_private_data,
|
||||||
struct file *file, unsigned int cmd, unsigned long arg);
|
struct file *file, unsigned int cmd, unsigned long arg);
|
||||||
int (*mmap)(struct snd_info_entry *entry, void *file_private_data,
|
int (*mmap)(struct snd_info_entry *entry, void *file_private_data,
|
||||||
@@ -106,7 +110,8 @@ void snd_card_info_read_oss(struct snd_info_buffer *buffer);
|
|||||||
static inline void snd_card_info_read_oss(struct snd_info_buffer *buffer) {}
|
static inline void snd_card_info_read_oss(struct snd_info_buffer *buffer) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int snd_iprintf(struct snd_info_buffer * buffer, char *fmt,...) __attribute__ ((format (printf, 2, 3)));
|
int snd_iprintf(struct snd_info_buffer *buffer, char *fmt, ...) \
|
||||||
|
__attribute__ ((format (printf, 2, 3)));
|
||||||
int snd_info_init(void);
|
int snd_info_init(void);
|
||||||
int snd_info_done(void);
|
int snd_info_done(void);
|
||||||
|
|
||||||
@@ -130,7 +135,8 @@ void snd_info_card_id_change(struct snd_card * card);
|
|||||||
int snd_info_register(struct snd_info_entry *entry);
|
int snd_info_register(struct snd_info_entry *entry);
|
||||||
|
|
||||||
/* for card drivers */
|
/* for card drivers */
|
||||||
int snd_card_proc_new(struct snd_card *card, const char *name, struct snd_info_entry **entryp);
|
int snd_card_proc_new(struct snd_card *card, const char *name,
|
||||||
|
struct snd_info_entry **entryp);
|
||||||
|
|
||||||
static inline void snd_info_set_text_ops(struct snd_info_entry *entry,
|
static inline void snd_info_set_text_ops(struct snd_info_entry *entry,
|
||||||
void *private_data,
|
void *private_data,
|
||||||
|
Reference in New Issue
Block a user