From b25aefd7b2d04aab51dd4d56f35ed4ff50b41873 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Mon, 21 Jan 2008 02:39:45 +0000 Subject: [PATCH] Fix a compile warning in device/device.c Signed-off-by: Carl-Daniel Hailfinger Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://coreboot.org/repository/coreboot-v3@559 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- device/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/device.c b/device/device.c index 3a2d94e382..c0e22448da 100644 --- a/device/device.c +++ b/device/device.c @@ -737,7 +737,7 @@ void dev_phase2(void) 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...");