[coreboot] r559 - coreboot-v3/device

svn at coreboot.org svn at coreboot.org
Mon Jan 21 03:39:46 CET 2008


Author: hailfinger
Date: 2008-01-21 03:39:45 +0100 (Mon, 21 Jan 2008)
New Revision: 559

Modified:
   coreboot-v3/device/device.c
Log:
Fix a compile warning in device/device.c

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>


Modified: coreboot-v3/device/device.c
===================================================================
--- coreboot-v3/device/device.c	2008-01-20 23:03:40 UTC (rev 558)
+++ coreboot-v3/device/device.c	2008-01-21 02:39:45 UTC (rev 559)
@@ -737,7 +737,7 @@
 		printk(BIOS_SPEW, "%s: dev %s: ", __FUNCTION__, dev->dtsname);
 		printk(BIOS_SPEW, "%s: ops %p ops->phase2_setup_scan_bus %p\n",
 			__FUNCTION__, dev->ops, 
-			dev->ops? dev->ops->phase2_setup_scan_bus : "None");
+			dev->ops? dev->ops->phase2_setup_scan_bus : NULL);
 		if (dev->ops && dev->ops->phase2_setup_scan_bus) {
 			printk(BIOS_SPEW,
 			       "Calling phase2 phase2_setup_scan_bus...");





More information about the coreboot mailing list