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>
This commit is contained in:
committed by
Patrick Georgi
parent
846b4941fe
commit
c8a649c08f
@@ -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;
|
||||
|
||||
|
@@ -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 */
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user