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
Kirill Smelkov
linux
Commits
576d5739
Commit
576d5739
authored
Jan 11, 2008
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (12834): tm6000: Fix two warnings
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
6ad6e88a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
drivers/staging/tm6000/tm6000-alsa.c
drivers/staging/tm6000/tm6000-alsa.c
+2
-10
drivers/staging/tm6000/tm6000.h
drivers/staging/tm6000/tm6000.h
+4
-0
No files found.
drivers/staging/tm6000/tm6000-alsa.c
View file @
576d5739
...
...
@@ -333,20 +333,11 @@ static int __devinit snd_tm6000_pcm(struct snd_tm6000_card *chip,
Basic Flow for Sound Devices
****************************************************************************/
/*
* Component Destructor
*/
static
void
snd_tm6000_dev_free
(
struct
snd_card
*
card
)
{
}
/*
* Alsa Constructor - Component probe
*/
static
int
tm6000_audio_init
(
struct
tm6000_core
*
dev
,
int
idx
)
int
tm6000_audio_init
(
struct
tm6000_core
*
dev
,
int
idx
)
{
struct
snd_card
*
card
;
struct
snd_tm6000_card
*
chip
;
...
...
@@ -419,4 +410,5 @@ static int tm6000_audio_init(struct tm6000_core *dev, int idx)
snd_card_free
(
card
);
return
rc
;
}
EXPORT_SYMBOL_GPL
(
tm6000_audio_init
);
drivers/staging/tm6000/tm6000.h
View file @
576d5739
...
...
@@ -252,6 +252,10 @@ unsigned int tm6000_v4l2_poll(struct file *file,
struct
poll_table_struct
*
wait
);
int
tm6000_queue_init
(
struct
tm6000_core
*
dev
);
/* In tm6000-alsa.c */
int
tm6000_audio_init
(
struct
tm6000_core
*
dev
,
int
idx
);
/* Debug stuff */
extern
int
tm6000_debug
;
...
...
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