mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
ASoC: uniphier: change functions to static
This patch changes some functions that are not used by other objects to static. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
8fc9983db1
commit
d8504acca7
@ -327,7 +327,7 @@ static int aio_port_set_ch(struct uniphier_aio_sub *sub)
|
||||
*
|
||||
* Return: Zero if successful, otherwise a negative value on error.
|
||||
*/
|
||||
int aio_port_set_rate(struct uniphier_aio_sub *sub, int rate)
|
||||
static int aio_port_set_rate(struct uniphier_aio_sub *sub, int rate)
|
||||
{
|
||||
struct regmap *r = sub->aio->chip->regmap;
|
||||
struct device *dev = &sub->aio->chip->pdev->dev;
|
||||
@ -446,7 +446,7 @@ int aio_port_set_rate(struct uniphier_aio_sub *sub, int rate)
|
||||
*
|
||||
* Return: Zero if successful, otherwise a negative value on error.
|
||||
*/
|
||||
int aio_port_set_fmt(struct uniphier_aio_sub *sub)
|
||||
static int aio_port_set_fmt(struct uniphier_aio_sub *sub)
|
||||
{
|
||||
struct regmap *r = sub->aio->chip->regmap;
|
||||
struct device *dev = &sub->aio->chip->pdev->dev;
|
||||
@ -511,7 +511,7 @@ int aio_port_set_fmt(struct uniphier_aio_sub *sub)
|
||||
*
|
||||
* Return: Zero if successful, otherwise a negative value on error.
|
||||
*/
|
||||
int aio_port_set_clk(struct uniphier_aio_sub *sub)
|
||||
static int aio_port_set_clk(struct uniphier_aio_sub *sub)
|
||||
{
|
||||
struct uniphier_aio_chip *chip = sub->aio->chip;
|
||||
struct device *dev = &sub->aio->chip->pdev->dev;
|
||||
|
@ -325,9 +325,6 @@ int aio_chip_set_pll(struct uniphier_aio_chip *chip, int pll_id,
|
||||
void aio_chip_init(struct uniphier_aio_chip *chip);
|
||||
int aio_init(struct uniphier_aio_sub *sub);
|
||||
void aio_port_reset(struct uniphier_aio_sub *sub);
|
||||
int aio_port_set_rate(struct uniphier_aio_sub *sub, int rate);
|
||||
int aio_port_set_fmt(struct uniphier_aio_sub *sub);
|
||||
int aio_port_set_clk(struct uniphier_aio_sub *sub);
|
||||
int aio_port_set_param(struct uniphier_aio_sub *sub, int pass_through,
|
||||
const struct snd_pcm_hw_params *params);
|
||||
void aio_port_set_enable(struct uniphier_aio_sub *sub, int enable);
|
||||
|
Loading…
Reference in New Issue
Block a user