[kernel/f17] fix omap_drv compilation
mchehab
mchehab at fedoraproject.org
Sat Oct 13 11:42:47 UTC 2012
commit 1a44375e15bd4f9212d5fbe2bb3777386d81d8ba
Author: Mauro Carvalho Chehab <mchehab at redhat.com>
Date: Sat Oct 13 08:21:33 2012 -0300
fix omap_drv compilation
drivers/staging/omapdrm/omap_drv.c:764:3: error: unknown field 'reclaim_buffers' specified in initializer
drivers/staging/omapdrm/omap_drv.c:764:3: error: initialization from incompatible pointer type [-Werror]
drivers/staging/omapdrm/omap_drv.c:764:3: error: (near initialization for 'omap_drm_driver.irq_preinstall') [-Werror]
Signed-off-by: Mauro Carvalho Chehab <mchehab at redhat.com>
linux-3.6-arm-build-fixup.patch | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/linux-3.6-arm-build-fixup.patch b/linux-3.6-arm-build-fixup.patch
index 3650be7..f51df06 100644
--- a/linux-3.6-arm-build-fixup.patch
+++ b/linux-3.6-arm-build-fixup.patch
@@ -80,3 +80,24 @@ index cf25880..6327d1f 100644
static struct clocksource clocksource_counter = {
.name = "arch_sys_counter",
+
+From: David Cullen <david.cullen at koe-americas.com>
+Subject: [PATCH] Fix error: unknown field reclaim_buffers specified in initializer
+
+ The reclaim_buffers field has been removed from struct drm_driver.
+
+ Signed-off-by: David Cullen <david.cullen at koe-americas.com>
+diff --git a/drivers/staging/omapdrm/omap_drv.c
+b/drivers/staging/omapdrm/omap_drv.c
+index 4beab94..44149ee 100644
+--- a/drivers/staging/omapdrm/omap_drv.c
++++ b/drivers/staging/omapdrm/omap_drv.c
+@@ -761,7 +761,6 @@ static struct drm_driver omap_drm_driver = {
+ .irq_postinstall = dev_irq_postinstall,
+ .irq_uninstall = dev_irq_uninstall,
+ .irq_handler = dev_irq_handler,
+- .reclaim_buffers = drm_core_reclaim_buffers,
+ #ifdef CONFIG_DEBUG_FS
+ .debugfs_init = omap_debugfs_init,
+ .debugfs_cleanup = omap_debugfs_cleanup,
+
More information about the scm-commits
mailing list