media: video: tegra: Fix compiler warning
Scott Williams [Wed, 23 Nov 2011 20:47:00 +0000 (12:47 -0800)]
Change-Id: Id25d4d05c5dae89d8ee67e9be40ae166566e3783
Reviewed-on: http://git-master/r/66507
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Gerrit_Virtual_Submit

Rebase-Id: R3d4e898d094dfa475e5b9c641b010c3f3346bdae

drivers/media/video/tegra/avp/avp.c

index 1a799b9..f4d31f0 100644 (file)
@@ -1012,7 +1012,7 @@ static int avp_init(struct tegra_avp_info *avp)
        }
        pr_info("%s: Using nvmem= carveout at %lx to load AVP kernel\n",
                __func__, (unsigned long)avp->kernel_phys);
-       sprintf(fw_file, "nvrm_avp_%08lx.bin", avp->kernel_phys);
+       sprintf(fw_file, "nvrm_avp_%08lx.bin", (unsigned long)avp->kernel_phys);
        avp->reset_addr = avp->kernel_phys;
        avp->kernel_data = ioremap(avp->kernel_phys, SZ_1M);
 #endif