summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
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);