summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra_bb.c
diff options
context:
space:
mode:
authorSeshendra Gadagottu <sgadagottu@nvidia.com>2013-01-28 22:47:11 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:58:51 -0700
commitda3f8251da4acfb4b7c8f980e7eb3f0620e3e453 (patch)
tree610166c4f5f38d2a298edb9848f991c4eb449429 /arch/arm/mach-tegra/tegra_bb.c
parent2a3776b454a5a454423c29750e60588f82653eaf (diff)
ARM: tegra: fix dolak_sim build
Fixed the issue with unused functions/variables BUG 1164711 Change-Id: I72c3fa6f3db0d4681a3df05e86f07b5bfd04647b Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/194998
Diffstat (limited to 'arch/arm/mach-tegra/tegra_bb.c')
-rw-r--r--arch/arm/mach-tegra/tegra_bb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra_bb.c b/arch/arm/mach-tegra/tegra_bb.c
index 38889c9a6350..acc1dfb34a9c 100644
--- a/arch/arm/mach-tegra/tegra_bb.c
+++ b/arch/arm/mach-tegra/tegra_bb.c
@@ -156,7 +156,9 @@ EXPORT_SYMBOL_GPL(tegra_bb_register_ipc);
void tegra_bb_generate_ipc(struct platform_device *pdev)
{
struct tegra_bb *bb;
+#ifndef CONFIG_TEGRA_BASEBAND_SIMU
void __iomem *flow = IO_ADDRESS(TEGRA_FLOW_CTRL_BASE);
+#endif
struct tegra_bb_platform_data *pdata;
if (!pdev) {
@@ -537,6 +539,7 @@ static ssize_t show_tegra_bb_reset(struct device *dev,
static DEVICE_ATTR(reset, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP,
show_tegra_bb_reset, store_tegra_bb_reset);
+#ifndef CONFIG_TEGRA_BASEBAND_SIMU
static irqreturn_t tegra_bb_isr_handler(int irq, void *data)
{
struct tegra_bb *bb = (struct tegra_bb *)data;
@@ -569,6 +572,7 @@ static irqreturn_t tegra_bb_isr_handler(int irq, void *data)
bb->status = sts;
return IRQ_HANDLED;
}
+#endif
static int tegra_bb_probe(struct platform_device *pdev)
{