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
72496edc
Commit
72496edc
authored
Feb 11, 2015
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: seq: Don't compile snd_seq_device_load_drivers() for built-in
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
b6a42670
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
include/sound/seq_device.h
include/sound/seq_device.h
+4
-0
sound/core/seq/seq_device.c
sound/core/seq/seq_device.c
+3
-6
No files found.
include/sound/seq_device.h
View file @
72496edc
...
...
@@ -67,7 +67,11 @@ struct snd_seq_dev_ops {
/*
* prototypes
*/
#ifdef CONFIG_MODULES
void
snd_seq_device_load_drivers
(
void
);
#else
#define snd_seq_device_load_drivers()
#endif
int
snd_seq_device_new
(
struct
snd_card
*
card
,
int
device
,
char
*
id
,
int
argsize
,
struct
snd_seq_device
**
result
);
int
snd_seq_device_register_driver
(
char
*
id
,
struct
snd_seq_dev_ops
*
entry
,
int
argsize
);
int
snd_seq_device_unregister_driver
(
char
*
id
);
...
...
sound/core/seq/seq_device.c
View file @
72496edc
...
...
@@ -198,19 +198,16 @@ void snd_seq_autoload_init(void)
#endif
}
EXPORT_SYMBOL
(
snd_seq_autoload_init
);
#else
#define try_autoload(ops)
/* NOP */
#endif
void
snd_seq_device_load_drivers
(
void
)
{
#ifdef CONFIG_MODULES
queue_autoload_drivers
();
flush_work
(
&
autoload_work
);
#endif
}
EXPORT_SYMBOL
(
snd_seq_device_load_drivers
);
#else
#define try_autoload(ops)
/* NOP */
#endif
/*
* register a sequencer device
...
...
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