summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-20 21:49:39 +1000
committerPatrick Georgi <patrick@georgi-clan.de>2014-06-25 11:32:23 +0200
commit618ddfeea557f076fb38f21671dcabe34411f583 (patch)
tree4433346d760d7d37f1f5f303e387c4ceb3c80c65
parentb393fa09e565af929474c442a62589ad1d73acbf (diff)
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>
-rw-r--r--src/include/device/agp.h6
-rw-r--r--src/include/device/cardbus.h5
2 files changed, 8 insertions, 3 deletions
diff --git a/src/include/device/agp.h b/src/include/device/agp.h
index 564b0bb4e6..be2b833762 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 c48a19be25..45ae24f008 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);