rpms/kernel/devel linux-2.6-compile-fixes.patch,1.123,1.124

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Dec 29 06:42:29 UTC 2006


Author: davej

Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv4237

Modified Files:
	linux-2.6-compile-fixes.patch 
Log Message:
buildfix

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.ppc64iseries/arch/powerpc/lib/locks.c        |    4 ++
 4 files changed, 20 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.123
retrieving revision 1.124
diff -u -r1.123 -r1.124
--- linux-2.6-compile-fixes.patch	29 Dec 2006 06:26:22 -0000	1.123
+++ linux-2.6-compile-fixes.patch	29 Dec 2006 06:42:27 -0000	1.124
@@ -136,3 +136,18 @@
  }
  #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'
+
+--- linux-2.6.19.noarch/drivers/macintosh/via-pmu-backlight.c~	2006-12-29 01:41:24.000000000 -0500
++++ linux-2.6.19.noarch/drivers/macintosh/via-pmu-backlight.c	2006-12-29 01:41:28.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