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
031024ee
Commit
031024ee
authored
May 02, 2011
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: hda - Constify some API function arguments
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
a3ea8e8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.c
+3
-2
sound/pci/hda/hda_local.h
sound/pci/hda/hda_local.h
+2
-2
No files found.
sound/pci/hda/hda_codec.c
View file @
031024ee
...
...
@@ -3872,7 +3872,8 @@ EXPORT_SYMBOL_HDA(snd_hda_check_board_codec_sid_config);
*
* Returns 0 if successful, or a negative error code.
*/
int
snd_hda_add_new_ctls
(
struct
hda_codec
*
codec
,
struct
snd_kcontrol_new
*
knew
)
int
snd_hda_add_new_ctls
(
struct
hda_codec
*
codec
,
const
struct
snd_kcontrol_new
*
knew
)
{
int
err
;
...
...
@@ -4015,7 +4016,7 @@ int snd_hda_check_amp_list_power(struct hda_codec *codec,
struct
hda_loopback_check
*
check
,
hda_nid_t
nid
)
{
struct
hda_amp_list
*
p
;
const
struct
hda_amp_list
*
p
;
int
ch
,
v
;
if
(
!
check
->
amplist
)
...
...
sound/pci/hda/hda_local.h
View file @
031024ee
...
...
@@ -347,7 +347,7 @@ int snd_hda_check_board_codec_sid_config(struct hda_codec *codec,
int
num_configs
,
const
char
*
const
*
models
,
const
struct
snd_pci_quirk
*
tbl
);
int
snd_hda_add_new_ctls
(
struct
hda_codec
*
codec
,
struct
snd_kcontrol_new
*
knew
);
const
struct
snd_kcontrol_new
*
knew
);
/*
* unsolicited event handler
...
...
@@ -567,7 +567,7 @@ struct hda_amp_list {
};
struct
hda_loopback_check
{
struct
hda_amp_list
*
amplist
;
const
struct
hda_amp_list
*
amplist
;
int
power_on
;
};
...
...
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