Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
a50ac258
Commit
a50ac258
authored
Apr 07, 2003
by
Alan Cox
Committed by
Linus Torvalds
Apr 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] another C99 and version casd
parent
72069dc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
20 deletions
+19
-20
sound/oss/i810_audio.c
sound/oss/i810_audio.c
+19
-20
No files found.
sound/oss/i810_audio.c
View file @
a50ac258
...
@@ -79,7 +79,6 @@
...
@@ -79,7 +79,6 @@
*/
*/
#include <linux/module.h>
#include <linux/module.h>
#include <linux/version.h>
#include <linux/string.h>
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/ctype.h>
#include <linux/ioport.h>
#include <linux/ioport.h>
...
@@ -2554,15 +2553,15 @@ static int i810_release(struct inode *inode, struct file *file)
...
@@ -2554,15 +2553,15 @@ static int i810_release(struct inode *inode, struct file *file)
}
}
static
/*const*/
struct
file_operations
i810_audio_fops
=
{
static
/*const*/
struct
file_operations
i810_audio_fops
=
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
llseek:
no_llseek
,
.
llseek
=
no_llseek
,
read:
i810_read
,
.
read
=
i810_read
,
write:
i810_write
,
.
write
=
i810_write
,
poll:
i810_poll
,
.
poll
=
i810_poll
,
ioctl:
i810_ioctl
,
.
ioctl
=
i810_ioctl
,
mmap:
i810_mmap
,
.
mmap
=
i810_mmap
,
open:
i810_open
,
.
open
=
i810_open
,
release:
i810_release
,
.
release
=
i810_release
,
};
};
/* Write AC97 codec registers */
/* Write AC97 codec registers */
...
@@ -2690,10 +2689,10 @@ static int i810_ioctl_mixdev(struct inode *inode, struct file *file, unsigned in
...
@@ -2690,10 +2689,10 @@ static int i810_ioctl_mixdev(struct inode *inode, struct file *file, unsigned in
}
}
static
/*const*/
struct
file_operations
i810_mixer_fops
=
{
static
/*const*/
struct
file_operations
i810_mixer_fops
=
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
llseek:
no_llseek
,
.
llseek
=
no_llseek
,
ioctl:
i810_ioctl_mixdev
,
.
ioctl
=
i810_ioctl_mixdev
,
open:
i810_open_mixdev
,
.
open
=
i810_open_mixdev
,
};
};
/* AC97 codec initialisation. These small functions exist so we don't
/* AC97 codec initialisation. These small functions exist so we don't
...
@@ -3430,13 +3429,13 @@ MODULE_PARM(spdif_locked, "i");
...
@@ -3430,13 +3429,13 @@ MODULE_PARM(spdif_locked, "i");
#define I810_MODULE_NAME "intel810_audio"
#define I810_MODULE_NAME "intel810_audio"
static
struct
pci_driver
i810_pci_driver
=
{
static
struct
pci_driver
i810_pci_driver
=
{
name:
I810_MODULE_NAME
,
.
name
=
I810_MODULE_NAME
,
id_table:
i810_pci_tbl
,
.
id_table
=
i810_pci_tbl
,
probe:
i810_probe
,
.
probe
=
i810_probe
,
remove:
__devexit_p
(
i810_remove
),
.
remove
=
__devexit_p
(
i810_remove
),
#ifdef CONFIG_PM
#ifdef CONFIG_PM
suspend:
i810_pm_suspend
,
.
suspend
=
i810_pm_suspend
,
resume:
i810_pm_resume
,
.
resume
=
i810_pm_resume
,
#endif
/* CONFIG_PM */
#endif
/* CONFIG_PM */
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment