History

ASoC: core: Relocate and expose snd_soc_component_initialize

To allow for two-step component registration, expose snd_soc_component_initialize function and move it back to soc-core.c.

Cezary Rojewski committed 6 years ago

Commit 08ff7201 parent 14e5ad74 files · +20 −19Browse files

Showing the changes to include (2 of 4 files). Show all

Unified · Split

2 files
  1. include/sound/soc-component.h +0 −3
  2. include/sound/soc.h +3 −0
include/sound/soc-component.h+0−3
@@ -325,9 +325,6 @@ static inline int snd_soc_component_cache_sync( · 324 unmodified lines
325325 return regcache_sync(component->regmap);
326326 }
327327
328−int snd_soc_component_initialize(struct snd_soc_component *component,
329− const struct snd_soc_component_driver *driver,
330− struct device *dev, const char *name);
331328 void snd_soc_component_set_aux(struct snd_soc_component *component,
332329 struct snd_soc_aux_dev *aux);
333330 int snd_soc_component_init(struct snd_soc_component *component);
include/sound/soc.h+3−0
@@ -414,6 +414,9 @@ static inline int snd_soc_resume(struct device *dev) · 413 unmodified lines
414414 }
415415 #endif
416416 int snd_soc_poweroff(struct device *dev);
417+int snd_soc_component_initialize(struct snd_soc_component *component,
418+ const struct snd_soc_component_driver *driver,
419+ struct device *dev, const char *name);
417420 int snd_soc_add_component(struct device *dev,
418421 struct snd_soc_component *component,
419422 const struct snd_soc_component_driver *component_driver,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t