aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/broadcom/bcm5785/bcm5785.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 12:11:29 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-05-22 07:17:35 +0000
commite490a87582fdd7b5df3da3d2211117d179e8d19d (patch)
treeb30576b64065dc75a51f870f17dcfb3cc6378fdd /src/southbridge/broadcom/bcm5785/bcm5785.c
parent86c92ba0422a7075af2f0f1e6da791fc0c6f7aad (diff)
sb/broadcom/bcm5785: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ia39347f9d07bb0055ea4686a8b319f323f68062e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26403 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/broadcom/bcm5785/bcm5785.c')
-rw-r--r--src/southbridge/broadcom/bcm5785/bcm5785.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/broadcom/bcm5785/bcm5785.c b/src/southbridge/broadcom/bcm5785/bcm5785.c
index 60f7da06aa..6375805b9a 100644
--- a/src/southbridge/broadcom/bcm5785/bcm5785.c
+++ b/src/southbridge/broadcom/bcm5785/bcm5785.c
@@ -20,10 +20,10 @@
#include <device/pci_ids.h>
#include "bcm5785.h"
-void bcm5785_enable(device_t dev)
+void bcm5785_enable(struct device *dev)
{
- device_t sb_pci_main_dev;
- device_t bus_dev;
+ struct device *sb_pci_main_dev;
+ struct device *bus_dev;
// unsigned index;
/* See if we are on the behind the pcix bridge */