Changeset 317 for GPL/branches
- Timestamp:
- Mar 24, 2008, 11:36:19 PM (17 years ago)
- Location:
- GPL/branches/uniaud-2.0/alsa-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud-2.0/alsa-kernel/core/sound.c
r305 r317 134 134 #endif 135 135 struct snd_minor *mptr = NULL; 136 #ifndef TARGET_OS2 136 137 const struct file_operations *old_fops; 138 #else 139 struct file_operations *old_fops; 140 #endif 137 141 int err = 0; 138 142 … … 172 176 } 173 177 178 #ifndef TARGET_OS2 174 179 static const struct file_operations snd_fops = 180 #else 181 static struct file_operations snd_fops = 182 #endif 175 183 { 176 184 #ifndef TARGET_OS2 … … 240 248 */ 241 249 int snd_register_device_for_dev(int type, struct snd_card *card, int dev, 250 #ifndef TARGET_OS2 242 251 const struct file_operations *f_ops, 252 #else 253 struct file_operations *f_ops, 254 #endif 243 255 void *private_data, 244 256 const char *name, struct device *device) -
GPL/branches/uniaud-2.0/alsa-kernel/include/sound/core.h
r305 r317 103 103 struct file *file; 104 104 struct snd_monitor_file *next; 105 #ifndef TARGET_OS2 105 106 const struct file_operations *disconnected_f_op; 107 #else 108 struct file_operations *disconnected_f_op; 109 #endif 106 110 struct list_head shutdown_list; 107 111 }; … … 202 206 int card; /* card number */ 203 207 int device; /* device number */ 208 #ifndef TARGET_OS2 204 209 const struct file_operations *f_ops; /* file operations */ 210 #else 211 struct file_operations *f_ops; /* file operations */ 212 #endif 205 213 void *private_data; /* private data for f_ops->open */ 206 214 struct device *dev; /* device for sysfs */ … … 227 235 int snd_register_device_for_dev(int type, struct snd_card *card, 228 236 int dev, 237 #ifndef TARGET_OS2 229 238 const struct file_operations *f_ops, 239 #else 240 struct file_operations *f_ops, 241 #endif 230 242 void *private_data, 231 243 const char *name, … … 250 262 */ 251 263 static inline int snd_register_device(int type, struct snd_card *card, int dev, 264 #ifndef TARGET_OS2 252 265 const struct file_operations *f_ops, 266 #else 267 struct file_operations *f_ops, 268 #endif 253 269 void *private_data, 254 270 const char *name)
Note:
See TracChangeset
for help on using the changeset viewer.