From e3ca4aa394e90579fc34fff8565c05640a7534e5 Mon Sep 17 00:00:00 2001 From: Mayuresh Kulkarni Date: Fri, 24 Feb 2012 15:46:51 +0530 Subject: video: tegra: host: Merge tegra_grhost and host1x devices - tegra_grhost is a platform device that represents host1x - nvhost has device host1x which represents the same hardware - merge these two device structs - as the new struct is a nvhost_device, platform_driver is also converted into a nvhost_driver - register nvhost device before other graphics devices. this ensures that nvhost_probe() is called as soon as nvhost_driver is registered with the core. - this also ensures that nvmap is probed first, followed by nvhost, followed by tegra-dc and nvavp (if they are enabled). Change-Id: Ic420a6516a9cb20d6f481692a4db10fa6053dd90 Signed-off-by: Terje Bergstrom Signed-off-by: Mayuresh Kulkarni Reviewed-on: http://git-master/r/82631 Reviewed-by: Simone Willett Tested-by: Simone Willett --- arch/arm/mach-tegra/board-p1852-panel.c | 1 - 1 file changed, 1 deletion(-) (limited to 'arch/arm/mach-tegra/board-p1852-panel.c') diff --git a/arch/arm/mach-tegra/board-p1852-panel.c b/arch/arm/mach-tegra/board-p1852-panel.c index b26ff19e87be..238642380e72 100644 --- a/arch/arm/mach-tegra/board-p1852-panel.c +++ b/arch/arm/mach-tegra/board-p1852-panel.c @@ -104,7 +104,6 @@ static struct nvmap_platform_data p1852_nvmap_data = { static struct platform_device *p1852_gfx_devices[] __initdata = { &tegra_nvmap_device, - &tegra_grhost_device }; int __init p1852_panel_init(void) -- cgit v1.2.3