[coreboot] r768 - coreboot-v3/southbridge/amd/amd8111

svn at coreboot.org svn at coreboot.org
Fri Aug 15 21:21:22 CEST 2008


Author: hailfinger
Date: 2008-08-15 21:21:22 +0200 (Fri, 15 Aug 2008)
New Revision: 768

Modified:
   coreboot-v3/southbridge/amd/amd8111/ac97.c
   coreboot-v3/southbridge/amd/amd8111/amd8111.h
Log:
device_t -> struct device conversions.

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/southbridge/amd/amd8111/ac97.c
===================================================================
--- coreboot-v3/southbridge/amd/amd8111/ac97.c	2008-08-15 19:08:44 UTC (rev 767)
+++ coreboot-v3/southbridge/amd/amd8111/ac97.c	2008-08-15 19:21:22 UTC (rev 768)
@@ -24,7 +24,7 @@
 #include <device/pci_ops.h>
 #include "amd8111.h"
 
-static void lpci_set_subsystem(device_t dev, unsigned vendor, unsigned device)
+static void lpci_set_subsystem(struct device * dev, unsigned vendor, unsigned device)
 {
 	pci_write_config32(dev, 0x2c, 
 		((device & 0xffff) << 16) | (vendor & 0xffff));

Modified: coreboot-v3/southbridge/amd/amd8111/amd8111.h
===================================================================
--- coreboot-v3/southbridge/amd/amd8111/amd8111.h	2008-08-15 19:08:44 UTC (rev 767)
+++ coreboot-v3/southbridge/amd/amd8111/amd8111.h	2008-08-15 19:21:22 UTC (rev 768)
@@ -1,6 +1,6 @@
 #ifndef AMD8111_H
 #define AMD8111_H
 
-void amd8111_enable(device_t dev);
+void amd8111_enable(struct device * dev);
 
 #endif /* AMD8111_H */





More information about the coreboot mailing list