summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-06-10 23:36:44 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-14 09:29:31 +0000
commitc8a649c08f92d4d2255626da4e1cd7a6d71469e7 (patch)
tree14a899738d09b37030585aca3b59344595208e36 /src/include/device
parent846b4941fee842bc359fa2b611cf0c3fc4f158b2 (diff)
downloadcoreboot-c8a649c08f92d4d2255626da4e1cd7a6d71469e7.tar.xz
src: Use of device_t is deprecated
Change-Id: I9cebfc5c77187bd81094031c43ff6df094908417 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/27010 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/cardbus.h4
-rw-r--r--src/include/device/pciexp.h4
-rw-r--r--src/include/device/pcix.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/include/device/cardbus.h b/src/include/device/cardbus.h
index 45ae24f008..4443c155db 100644
--- a/src/include/device/cardbus.h
+++ b/src/include/device/cardbus.h
@@ -5,8 +5,8 @@
#include <device/device.h>
-void cardbus_read_resources(device_t dev);
-void cardbus_enable_resources(device_t dev);
+void cardbus_read_resources(struct device *dev);
+void cardbus_enable_resources(struct device *dev);
extern struct device_operations default_cardbus_ops_bus;
diff --git a/src/include/device/pciexp.h b/src/include/device/pciexp.h
index e7f212092e..0f1420a013 100644
--- a/src/include/device/pciexp.h
+++ b/src/include/device/pciexp.h
@@ -17,9 +17,9 @@ enum aspm_type {
void pciexp_scan_bus(struct bus *bus, unsigned int min_devfn,
unsigned int max_devfn);
-void pciexp_scan_bridge(device_t dev);
+void pciexp_scan_bridge(struct device *dev);
extern struct device_operations default_pciexp_ops_bus;
-unsigned int pciexp_find_extended_cap(device_t dev, unsigned int cap);
+unsigned int pciexp_find_extended_cap(struct device *dev, unsigned int cap);
#endif /* DEVICE_PCIEXP_H */
diff --git a/src/include/device/pcix.h b/src/include/device/pcix.h
index 024c548b3e..ca482d26ac 100644
--- a/src/include/device/pcix.h
+++ b/src/include/device/pcix.h
@@ -2,7 +2,7 @@
#define DEVICE_PCIX_H
/* (c) 2005 Linux Networx GPL see COPYING for details */
-void pcix_scan_bridge(device_t dev);
+void pcix_scan_bridge(struct device *dev);
const char *pcix_speed(u16 sstatus);