]> err.no Git - linux-2.6/commitdiff
Merge branch 'merge'
authorPaul Mackerras <paulus@samba.org>
Tue, 1 Aug 2006 00:37:25 +0000 (10:37 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Aug 2006 00:37:25 +0000 (10:37 +1000)
31 files changed:
1  2 
arch/powerpc/kernel/ibmebus.c
arch/powerpc/kernel/pci_32.c
arch/powerpc/kernel/pci_64.c
arch/powerpc/kernel/prom_parse.c
arch/powerpc/kernel/setup-common.c
arch/powerpc/kernel/sysfs.c
arch/powerpc/platforms/cell/interrupt.c
arch/powerpc/platforms/cell/spider-pic.c
arch/powerpc/platforms/cell/spu_base.c
arch/powerpc/platforms/maple/setup.c
arch/powerpc/platforms/powermac/backlight.c
arch/powerpc/platforms/powermac/cpufreq_64.c
arch/powerpc/platforms/powermac/pci.c
arch/powerpc/platforms/pseries/ras.c
arch/powerpc/platforms/pseries/setup.c
arch/powerpc/platforms/pseries/xics.c
drivers/char/hvsi.c
drivers/i2c/busses/i2c-powermac.c
drivers/macintosh/macio_asic.c
drivers/macintosh/smu.c
drivers/macintosh/via-pmu.c
drivers/net/spider_net.c
drivers/scsi/ibmvscsi/rpa_vscsi.c
drivers/scsi/mac53c94.c
drivers/scsi/mesh.c
drivers/video/S3triofb.c
drivers/video/aty/radeon_base.c
drivers/video/aty/radeon_pm.c
drivers/video/offb.c
drivers/video/riva/fbdev.c
include/asm-powerpc/system.h

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 6f358600536e6e10f830e7fe702bb5f3e32dd035,00ef46898147524bfb11f4b8433eac19c712a742..090e40fc501335115e51c5c3138354b0dbccedd7
@@@ -483,9 -490,10 +490,10 @@@ int __init smu_init (void
                printk(KERN_ERR "SMU: Can't find doorbell GPIO !\n");
                goto fail;
        }
-       data = get_property(np, "reg", NULL);
 -      data = (u32 *)get_property(smu->db_node, "reg", NULL);
++      data = get_property(smu->db_node, "reg", NULL);
        if (data == NULL) {
-               of_node_put(np);
+               of_node_put(smu->db_node);
+               smu->db_node = NULL;
                printk(KERN_ERR "SMU: Can't find doorbell GPIO address !\n");
                goto fail;
        }
  
        /* Now look for the smu-interrupt GPIO */
        do {
-               np = of_find_node_by_name(NULL, "smu-interrupt");
-               if (np == NULL)
+               smu->msg_node = of_find_node_by_name(NULL, "smu-interrupt");
+               if (smu->msg_node == NULL)
                        break;
-               data = get_property(np, "reg", NULL);
 -              data = (u32 *)get_property(smu->msg_node, "reg", NULL);
++              data = get_property(smu->msg_node, "reg", NULL);
                if (data == NULL) {
-                       of_node_put(np);
+                       of_node_put(smu->msg_node);
+                       smu->msg_node = NULL;
                        break;
                }
                smu->msg = *data;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge