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:
Amit Sharma
2016-02-12 20:01:05 +05:30
committed by Sameer Pujar
parent f2b5343db2
commit bf142c83e5
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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);