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@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/6080
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
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 @@
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);