[coreboot-gerrit] Patch set updated for coreboot: 7c977d9 device/{cardbus, agp}.h: Missing header for device_t type

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Sun Jun 22 07:04:28 CEST 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6080

-gerrit

commit 7c977d9e893179b1e38dbdd86c41a5d99030030c
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Fri Jun 20 21:49:39 2014 +1000

    device/{cardbus,agp}.h: Missing header for device_t type
    
    Missing header for the ramstage version of device_t which is a struct
    ptr.
    
    Change-Id: Ie2a30b75ee1d0513397276b81e8df1d995707f6f
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/include/device/agp.h     | 6 ++++--
 src/include/device/cardbus.h | 5 ++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/include/device/agp.h b/src/include/device/agp.h
index 564b0bb..be2b833 100644
--- a/src/include/device/agp.h
+++ b/src/include/device/agp.h
@@ -1,6 +1,9 @@
+/* (c) 2005 Linux Networx GPL see COPYING for details */
+
 #ifndef DEVICE_AGP_H
 #define DEVICE_AGP_H
-/* (c) 2005 Linux Networx GPL see COPYING for details */
+
+#include <device/device.h>
 
 unsigned int agp_scan_bus(struct bus *bus,
 	unsigned min_devfn, unsigned max_devfn, unsigned int max);
@@ -8,5 +11,4 @@ unsigned int agp_scan_bridge(device_t dev, unsigned int max);
 
 extern struct device_operations default_agp_ops_bus;
 
-
 #endif /* DEVICE_AGP_H */
diff --git a/src/include/device/cardbus.h b/src/include/device/cardbus.h
index c48a19b..45ae24f 100644
--- a/src/include/device/cardbus.h
+++ b/src/include/device/cardbus.h
@@ -1,6 +1,9 @@
+/* (c) 2005 Linux Networx GPL see COPYING for details */
+
 #ifndef DEVICE_CARDBUS_H
 #define DEVICE_CARDBUS_H
-/* (c) 2005 Linux Networx GPL see COPYING for details */
+
+#include <device/device.h>
 
 void cardbus_read_resources(device_t dev);
 void cardbus_enable_resources(device_t dev);



More information about the coreboot-gerrit mailing list