mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
sound: soc: tegra-alt: fix sparse warnings
Fixed the following sparse warnings:
- warning: symbol 'tegra186_asrc_ahc_cb' was not declared.
Should it be static?
- warning: symbol 'tegra186_arad_ahc_cb' was not declared.
Should it be static?
- warning: Using plain integer as NULL pointer
Bug 200088648
Change-Id: I26ca06f95517269840248b703969fb79e2c43c91
Signed-off-by: Amit Sharma <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/1011362
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dipesh Gandhi <dipeshg@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
This commit is contained in:
committed by
Sameer Pujar
parent
f2b5343db2
commit
bf142c83e5
@@ -698,7 +698,7 @@ static const struct of_device_id tegra186_arad_of_match[] = {
|
||||
};
|
||||
|
||||
#ifdef CONFIG_SND_SOC_TEGRA186_ARAD_WAR
|
||||
void tegra186_arad_ahc_cb(void *data)
|
||||
static void tegra186_arad_ahc_cb(void *data)
|
||||
{
|
||||
int i = 0;
|
||||
unsigned int val = 0, status;
|
||||
|
||||
@@ -878,7 +878,7 @@ static const struct regmap_config tegra186_asrc_regmap_config = {
|
||||
};
|
||||
|
||||
#ifdef CONFIG_TEGRA186_AHC
|
||||
void tegra186_asrc_ahc_cb(void *data)
|
||||
static void tegra186_asrc_ahc_cb(void *data)
|
||||
{
|
||||
struct device *dev = (struct device *)data;
|
||||
struct tegra186_asrc *asrc = dev_get_drvdata(dev);
|
||||
|
||||
Reference in New Issue
Block a user