Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26004
Change subject: src/device/cardbus_device.c: Get rid of device_t ......................................................................
src/device/cardbus_device.c: Get rid of device_t
Use of `device_t` has been abandoned in ramstage.
Change-Id: I6f3efd8c9be7f9fb83b373fbee311b06cde54181 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/device/cardbus_device.c 1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/26004/1
diff --git a/src/device/cardbus_device.c b/src/device/cardbus_device.c index 19e9900..2924f89 100644 --- a/src/device/cardbus_device.c +++ b/src/device/cardbus_device.c @@ -34,7 +34,7 @@ #define CARDBUS_IO_SIZE 4096 #define CARDBUS_MEM_SIZE (32 * 1024 * 1024)
-static void cardbus_record_bridge_resource(device_t dev, resource_t moving, +static void cardbus_record_bridge_resource(struct device *dev, resource_t moving, resource_t min_size, unsigned int index, unsigned long type) { struct resource *resource; @@ -66,7 +66,7 @@ resource->size = min_size; }
-static void cardbus_size_bridge_resource(device_t dev, unsigned int index) +static void cardbus_size_bridge_resource(struct device *dev, unsigned int index) { struct resource *resource; resource_t min_size; @@ -83,7 +83,7 @@ } }
-void cardbus_read_resources(device_t dev) +void cardbus_read_resources(struct device *dev) { resource_t moving_base, moving_limit, moving; unsigned long type; @@ -149,7 +149,7 @@ compact_resources(dev); }
-void cardbus_enable_resources(device_t dev) +void cardbus_enable_resources(struct device *dev) { u16 ctrl;