git: 9771af4942ec - main - cxgb: Use device_t in preference to struct device *

Mark Johnston markj at FreeBSD.org
Mon Apr 12 13:36:16 UTC 2021


The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=9771af4942ec735d3f16d0697bb705a911a67266

commit 9771af4942ec735d3f16d0697bb705a911a67266
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-12 13:32:04 +0000

    cxgb: Use device_t in preference to struct device *
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
---
 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-all mailing list