rpms/kernel/devel linux-2.6-compile-fixes.patch,1.127,1.128
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sat Dec 30 04:06:32 UTC 2006
Author: davej
Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv2226
Modified Files:
linux-2.6-compile-fixes.patch
Log Message:
still needed
linux-2.6-compile-fixes.patch:
linux-2.6.19.noarch/drivers/macintosh/via-pmu-backlight.c | 2 -
linux-2.6.19.noarch/drivers/macintosh/via-pmu.c | 1
linux-2.6.19.noarch/include/asm-i386/desc.h | 28 +++++++-------
linux-2.6.19.noarch/include/asm-powerpc/io.h | 1
linux-2.6.19.ppc64iseries/arch/powerpc/lib/locks.c | 4 ++
5 files changed, 21 insertions(+), 15 deletions(-)
Index: linux-2.6-compile-fixes.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-compile-fixes.patch,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -r1.127 -r1.128
--- linux-2.6-compile-fixes.patch 30 Dec 2006 03:33:59 -0000 1.127
+++ linux-2.6-compile-fixes.patch 30 Dec 2006 04:06:30 -0000 1.128
@@ -1,6 +1,6 @@
#
# Small compile fixes (For more involved fixes, please use a separate patch).
-#
+#
# Please add the errors from gcc before the diffs to save others having
# to do a compile to figure out what your diff is fixing. Thanks.
#
@@ -141,4 +141,19 @@
}
#endif
+drivers/macintosh/via-pmu-backlight.c: In function 'pmu_backlight_init':
+drivers/macintosh/via-pmu-backlight.c:150: error: too few arguments to function 'backlight_device_register'
+
+Signed-off-by: Dave Jones <davej at redhat.com>
+--- linux-2.6.19.noarch/drivers/macintosh/via-pmu-backlight.c~ 2006-12-29 23:02:09.000000000 -0500
++++ linux-2.6.19.noarch/drivers/macintosh/via-pmu-backlight.c 2006-12-29 23:02:12.000000000 -0500
+@@ -147,7 +147,7 @@ void __init pmu_backlight_init()
+
+ snprintf(name, sizeof(name), "pmubl");
+
+- bd = backlight_device_register(name, NULL, &pmu_backlight_data);
++ bd = backlight_device_register(name, NULL, NULL, &pmu_backlight_data);
+ if (IS_ERR(bd)) {
+ printk("pmubl: Backlight registration failed\n");
+ goto error;
More information about the fedora-cvs-commits
mailing list