Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
7816238a
Commit
7816238a
authored
Apr 07, 2009
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sparc: Fix section mismatch warnings in cs4231 sound driver.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
9a2ed5cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
sound/sparc/cs4231.c
sound/sparc/cs4231.c
+14
-14
No files found.
sound/sparc/cs4231.c
View file @
7816238a
...
...
@@ -703,7 +703,7 @@ static int snd_cs4231_timer_stop(struct snd_timer *timer)
return
0
;
}
static
void
__init
snd_cs4231_init
(
struct
snd_cs4231
*
chip
)
static
void
__
dev
init
snd_cs4231_init
(
struct
snd_cs4231
*
chip
)
{
unsigned
long
flags
;
...
...
@@ -1020,7 +1020,7 @@ static snd_pcm_uframes_t snd_cs4231_capture_pointer(
return
bytes_to_frames
(
substream
->
runtime
,
ptr
);
}
static
int
__init
snd_cs4231_probe
(
struct
snd_cs4231
*
chip
)
static
int
__
dev
init
snd_cs4231_probe
(
struct
snd_cs4231
*
chip
)
{
unsigned
long
flags
;
int
i
;
...
...
@@ -1219,7 +1219,7 @@ static struct snd_pcm_ops snd_cs4231_capture_ops = {
.
pointer
=
snd_cs4231_capture_pointer
,
};
static
int
__init
snd_cs4231_pcm
(
struct
snd_card
*
card
)
static
int
__
dev
init
snd_cs4231_pcm
(
struct
snd_card
*
card
)
{
struct
snd_cs4231
*
chip
=
card
->
private_data
;
struct
snd_pcm
*
pcm
;
...
...
@@ -1248,7 +1248,7 @@ static int __init snd_cs4231_pcm(struct snd_card *card)
return
0
;
}
static
int
__init
snd_cs4231_timer
(
struct
snd_card
*
card
)
static
int
__
dev
init
snd_cs4231_timer
(
struct
snd_card
*
card
)
{
struct
snd_cs4231
*
chip
=
card
->
private_data
;
struct
snd_timer
*
timer
;
...
...
@@ -1499,7 +1499,7 @@ static int snd_cs4231_put_double(struct snd_kcontrol *kcontrol,
.private_value = (left_reg) | ((right_reg) << 8) | ((shift_left) << 16) | \
((shift_right) << 19) | ((mask) << 24) | ((invert) << 22) }
static
struct
snd_kcontrol_new
snd_cs4231_controls
[]
__initdata
=
{
static
struct
snd_kcontrol_new
snd_cs4231_controls
[]
__
dev
initdata
=
{
CS4231_DOUBLE
(
"PCM Playback Switch"
,
0
,
CS4231_LEFT_OUTPUT
,
CS4231_RIGHT_OUTPUT
,
7
,
7
,
1
,
1
),
CS4231_DOUBLE
(
"PCM Playback Volume"
,
0
,
CS4231_LEFT_OUTPUT
,
...
...
@@ -1538,7 +1538,7 @@ CS4231_SINGLE("Line Out Switch", 0, CS4231_PIN_CTRL, 6, 1, 1),
CS4231_SINGLE
(
"Headphone Out Switch"
,
0
,
CS4231_PIN_CTRL
,
7
,
1
,
1
)
};
static
int
__init
snd_cs4231_mixer
(
struct
snd_card
*
card
)
static
int
__
dev
init
snd_cs4231_mixer
(
struct
snd_card
*
card
)
{
struct
snd_cs4231
*
chip
=
card
->
private_data
;
int
err
,
idx
;
...
...
@@ -1559,7 +1559,7 @@ static int __init snd_cs4231_mixer(struct snd_card *card)
static
int
dev
;
static
int
__init
cs4231_attach_begin
(
struct
snd_card
**
rcard
)
static
int
__
dev
init
cs4231_attach_begin
(
struct
snd_card
**
rcard
)
{
struct
snd_card
*
card
;
struct
snd_cs4231
*
chip
;
...
...
@@ -1590,7 +1590,7 @@ static int __init cs4231_attach_begin(struct snd_card **rcard)
return
0
;
}
static
int
__init
cs4231_attach_finish
(
struct
snd_card
*
card
)
static
int
__
dev
init
cs4231_attach_finish
(
struct
snd_card
*
card
)
{
struct
snd_cs4231
*
chip
=
card
->
private_data
;
int
err
;
...
...
@@ -1794,9 +1794,9 @@ static struct snd_device_ops snd_cs4231_sbus_dev_ops = {
.
dev_free
=
snd_cs4231_sbus_dev_free
,
};
static
int
__init
snd_cs4231_sbus_create
(
struct
snd_card
*
card
,
struct
of_device
*
op
,
int
dev
)
static
int
__
dev
init
snd_cs4231_sbus_create
(
struct
snd_card
*
card
,
struct
of_device
*
op
,
int
dev
)
{
struct
snd_cs4231
*
chip
=
card
->
private_data
;
int
err
;
...
...
@@ -1960,9 +1960,9 @@ static struct snd_device_ops snd_cs4231_ebus_dev_ops = {
.
dev_free
=
snd_cs4231_ebus_dev_free
,
};
static
int
__init
snd_cs4231_ebus_create
(
struct
snd_card
*
card
,
struct
of_device
*
op
,
int
dev
)
static
int
__
dev
init
snd_cs4231_ebus_create
(
struct
snd_card
*
card
,
struct
of_device
*
op
,
int
dev
)
{
struct
snd_cs4231
*
chip
=
card
->
private_data
;
int
err
;
...
...
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