From 618ddfeea557f076fb38f21671dcabe34411f583 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Fri, 20 Jun 2014 21:49:39 +1000 Subject: [PATCH] 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 Reviewed-on: http://review.coreboot.org/6080 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- 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 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 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 void cardbus_read_resources(device_t dev); void cardbus_enable_resources(device_t dev);