Changeset 598 for GPL/trunk/alsa-kernel/include/sound/info.h
- Timestamp:
- Apr 3, 2017, 4:51:56 PM (8 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
-
Property svn:mergeinfo
set to
/GPL/branches/uniaud32-2.1.x merged eligible
-
Property svn:mergeinfo
set to
-
GPL/trunk/alsa-kernel/include/sound/info.h
r587 r598 52 52 int (*release)(struct snd_info_entry *entry, 53 53 unsigned short mode, void *file_private_data); 54 long(*read)(struct snd_info_entry *entry, void *file_private_data,55 56 unsigned long count, unsigned longpos);57 long(*write)(struct snd_info_entry *entry, void *file_private_data,58 59 unsigned long count, unsigned longpos);60 lo ng long(*llseek)(struct snd_info_entry *entry,61 62 long longoffset, int orig);63 unsigned int (*poll)(struct snd_info_entry *entry,64 void *file_private_data, struct file *file,65 poll_table *wait);54 ssize_t (*read)(struct snd_info_entry *entry, void *file_private_data, 55 struct file *file, char __user *buf, 56 size_t count, loff_t pos); 57 ssize_t (*write)(struct snd_info_entry *entry, void *file_private_data, 58 struct file *file, const char __user *buf, 59 size_t count, loff_t pos); 60 loff_t (*llseek)(struct snd_info_entry *entry, 61 void *file_private_data, struct file *file, 62 loff_t offset, int orig); 63 unsigned int (*poll)(struct snd_info_entry *entry, 64 void *file_private_data, struct file *file, 65 poll_table *wait); 66 66 int (*ioctl)(struct snd_info_entry *entry, void *file_private_data, 67 67 struct file *file, unsigned int cmd, unsigned long arg); … … 111 111 #endif 112 112 113 int snd_iprintf(struct snd_info_buffer *buffer, char *fmt, ...) \ 113 #ifndef TARGET_OS2 114 int snd_iprintf(struct snd_info_buffer *buffer, const char *fmt, ...) \ 114 115 __attribute__ ((format (printf, 2, 3))); 116 #else 117 int snd_iprintf(struct snd_info_buffer * buffer, char *fmt,...); 118 #endif 115 119 int snd_info_init(void); 116 120 int snd_info_done(void); 117 121 118 122 int snd_info_get_line(struct snd_info_buffer *buffer, char *line, int len); 119 c har *snd_info_get_str(char *dest,char *src, int len);123 const char *snd_info_get_str(char *dest, const char *src, int len); 120 124 struct snd_info_entry *snd_info_create_module_entry(struct module *module, 121 125 const char *name,
Note:
See TracChangeset
for help on using the changeset viewer.