diff options
author | Hiroshi DOYU <hdoyu@nvidia.com> | 2012-07-12 15:11:20 +0300 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-07-16 02:30:38 -0700 |
commit | 316eb7f2e9e04ed1e3759b7dd3a8633384e92e33 (patch) | |
tree | f232743a5028a2d52194554dba846e882c29a6db /arch | |
parent | 241637ddc8ad79e3473ab6e305f5fa21e776e800 (diff) |
ARM: tegra: iovmm: Fix build error w/o CONFIG_IOVMM
Update function prototype along with:
commit 6cbf4c7465b7b70936cb422b509da0ad0829c306
ARM: tegra: iovmm: Allow alloc_client to take struct device
Change-Id: I11d173429413ab268f6ab789d90f321e3d33de2c
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/115391
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/iovmm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/iovmm.h b/arch/arm/mach-tegra/include/mach/iovmm.h index e1e360be9010..cd56bd835592 100644 --- a/arch/arm/mach-tegra/include/mach/iovmm.h +++ b/arch/arm/mach-tegra/include/mach/iovmm.h @@ -248,7 +248,8 @@ int tegra_iovmm_unregister(struct tegra_iovmm_device *dev); #else /* CONFIG_TEGRA_IOVMM */ static inline struct tegra_iovmm_client *tegra_iovmm_alloc_client( - const char *name, const char *share_group, struct miscdevice *misc_dev) + struct device *dev, const char *share_group, + struct miscdevice *misc_dev) { return NULL; } |