From aa1c834b69ce13b2e0a6dd2df6189ad119ffd94b Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Mon, 23 Jun 2014 18:06:00 -0700 Subject: video: tegra: nvmap: move nvmap to DT This patch migrates nvmap to the device tree. The legacy path is retained; i.e the path that loads the VPR sizes from the kernel's command line arguments. This patch also renames the nvmap device and driver to 'nvmap-carveouts'. This works better with the device tree nomenclature. Bug 200008319 Change-Id: I2929095c7f2af0ba188a371eebd4bf7293ca8b0e Signed-off-by: Alex Waterman Reviewed-on: http://git-master/r/427810 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy --- include/linux/nvmap.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include/linux') diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index cb889f110..566868147 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h @@ -68,16 +68,6 @@ struct dma_buf *nvmap_alloc_dmabuf(size_t size, size_t align, int nvmap_get_dmabuf_param(struct dma_buf *dmabuf, u32 param, u64 *result); -#ifdef CONFIG_TEGRA_NVMAP -int __init nvmap_init(void); -#else -/* MODS does not enable nvmap. */ -__attribute__((unused)) static int nvmap_init(void) -{ - return 0; -} -#endif - #ifdef CONFIG_NVMAP_PAGE_POOLS ulong nvmap_page_pool_get_unused_pages(void); ulong nvmap_page_pool_get_pool_size(void); -- cgit v1.2.2