git: 07f3c3b50047 - stable/13 - cxgb: Use device_t in preference to struct device *
Mark Johnston
markj at FreeBSD.org
Mon Apr 19 13:09:17 UTC 2021
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=07f3c3b500479d4641cd30d450801470c4031551
commit 07f3c3b500479d4641cd30d450801470c4031551
Author: Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-04-12 13:32:04 +0000
Commit: Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-04-19 13:02:04 +0000
cxgb: Use device_t in preference to struct device *
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 9771af4942ec735d3f16d0697bb705a911a67266)
---
sys/dev/cxgb/common/cxgb_ctl_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/cxgb/common/cxgb_ctl_defs.h b/sys/dev/cxgb/common/cxgb_ctl_defs.h
index fe8a4f7defc7..188e54fb0fc2 100644
--- a/sys/dev/cxgb/common/cxgb_ctl_defs.h
+++ b/sys/dev/cxgb/common/cxgb_ctl_defs.h
@@ -124,7 +124,7 @@ struct rdma_info {
unsigned int udbell_len; /* user doorbell region length */
unsigned long udbell_physbase; /* user doorbell physical start addr */
void *kdb_addr; /* kernel doorbell register address */
- struct device *pdev; /* associated PCI device */
+ device_t pdev; /* associated PCI device */
};
/*
More information about the dev-commits-src-branches
mailing list