Changeset 98
- Timestamp:
- May 7, 2007, 1:23:04 AM (18 years ago)
- Location:
- GPL/branches/alsa-resync1/alsa-kernel
- Files:
-
- 1 added
- 1 edited
-
core/sound.c (modified) (4 diffs)
-
include/sound/adriver.h (added)
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/alsa-resync1/alsa-kernel/core/sound.c
r34 r98 20 20 */ 21 21 22 #define SNDRV_MAIN_OBJECT_FILE23 22 #include <sound/driver.h> 23 #include <linux/init.h> 24 #include <linux/slab.h> 25 #include <linux/time.h> 26 #include <sound/core.h> 24 27 #include <sound/minors.h> 25 28 #include <sound/info.h> … … 27 30 #include <sound/control.h> 28 31 #include <sound/initval.h> 29 #ifdef CONFIG_KMOD30 32 #include <linux/kmod.h> 31 #endif32 33 #ifdef CONFIG_DEVFS_FS 33 34 #include <linux/devfs_fs_kernel.h> … … 126 127 static int snd_open(struct inode *inode, struct file *file) 127 128 { 128 int minor = MINOR(inode->i_rdev);129 int minor = minor(inode->i_rdev); 129 130 int card = SNDRV_MINOR_CARD(minor); 130 131 int dev = SNDRV_MINOR_DEVICE(minor); … … 171 172 struct file_operations snd_fops = 172 173 { 173 #if def LINUX_2_3174 #ifndef LINUX_2_2 174 175 owner: THIS_MODULE, 175 176 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
