forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DON'T SUBMIT] topology base on rpmsg driver model
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
- Loading branch information
1 parent
dd52cb8
commit 077aad7
Showing
8 changed files
with
2,800 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright 2017 Xiaomi, Inc. | ||
* | ||
* The code contained herein is licensed under the GNU General Public | ||
* License. You may obtain a copy of the GNU General Public License | ||
* Version 2 or later at the following locations: | ||
* | ||
* http://www.opensource.org/licenses/gpl-license.html | ||
* http://www.gnu.org/copyleft/gpl.html | ||
*/ | ||
|
||
#ifndef __SONG_DCOMPR_H__ | ||
#define __SONG_DCOMPR_H__ | ||
|
||
#include <linux/device.h> | ||
|
||
#ifdef CONFIG_SND_SONG_DCOMPR | ||
|
||
int devm_song_dcompr_register(struct device *dev, size_t prealloc_size); | ||
|
||
#else | ||
|
||
static inline int devm_song_dcompr_register(struct device *dev, size_t prealloc_size) | ||
{ | ||
return -ENOTSUPP; | ||
} | ||
|
||
#endif | ||
|
||
#endif |
Oops, something went wrong.