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>
This commit is contained in:
Edward O'Callaghan 2014-06-20 21:49:39 +10:00 committed by Patrick Georgi
parent b393fa09e5
commit 618ddfeea5
2 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,9 @@
/* (c) 2005 Linux Networx GPL see COPYING for details */
#ifndef DEVICE_AGP_H #ifndef DEVICE_AGP_H
#define 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 int agp_scan_bus(struct bus *bus,
unsigned min_devfn, unsigned max_devfn, unsigned int max); 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; extern struct device_operations default_agp_ops_bus;
#endif /* DEVICE_AGP_H */ #endif /* DEVICE_AGP_H */

View File

@ -1,6 +1,9 @@
/* (c) 2005 Linux Networx GPL see COPYING for details */
#ifndef DEVICE_CARDBUS_H #ifndef DEVICE_CARDBUS_H
#define 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_read_resources(device_t dev);
void cardbus_enable_resources(device_t dev); void cardbus_enable_resources(device_t dev);