This is part 4 of 5 of a patchset implementing the following in MeeGo kernel:

- Add OMAP DSS2 patches for supporting upgraded SGX driver:
   linux-2.6.35-OMAP-DSS2-in_use-flag-for-dss_cache.patch
   linux-2.6.35-OMAP-DSS2-Keep-track-whether-overlay-managers-are-en.patch
   linux-2.6.35-OMAP-DSS2-Add-GO-notifiers.patch
- Upgrade N900 SGX drivers to 201003002 in order to not have a
  non-production snapshot of the drivers. Fixes BMC#5711
- Add SGX platform device to N900 board file.

These patches apply in order:

linux-2.6.35-OMAP-DSS2-in_use-flag-for-dss_cache.patch
linux-2.6.35-OMAP-DSS2-Keep-track-whether-overlay-managers-are-en.patch
linux-2.6.35-OMAP-DSS2-Add-GO-notifiers.patch
linux-2.6-N900-add-sgx-platform-device.patch
linux-2.6-SGX-N900-upgrade-201003002.patch

This patch adds a SGX platform device to the board configuration of N900

Signed-off-by: Carsten Munk <[email protected]>
Index: linux-2.6.34-master/arch/arm/mach-omap2/board-rx51-video.c
===================================================================
--- linux-2.6.34-master.orig/arch/arm/mach-omap2/board-rx51-video.c	2010-08-04 10:31:38.000000000 +0000
+++ linux-2.6.34-master/arch/arm/mach-omap2/board-rx51-video.c	2010-08-04 10:33:44.000000000 +0000
@@ -66,8 +66,24 @@
 	},
 };
 
+static void rx51_sgx_dev_release(struct device *pdev)
+{
+	pr_debug("%s: (%p)", __func__, pdev);
+}
+
+static struct platform_device rx51_sgx_device = {
+	.name		= "pvrsrvkm",
+	.id		= -1,
+	.dev		= {
+		.release = rx51_sgx_dev_release,
+	}
+};
+
+
+
 static struct platform_device *rx51_video_devices[] __initdata = {
 	&rx51_display_device,
+	&rx51_sgx_device
 };
 
 static int __init rx51_video_init(void)
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to