aboutsummaryrefslogtreecommitdiffstats
path: root/sys/dev/ixl/ixl.h
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2016-08-09 19:32:06 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2016-08-09 19:32:06 +0000
commitbd937497ea2a1111d9cf6ff1cdbe698b3cdd430a (patch)
treecd36a4cc1858d305bf7632b49f8862e1ea5067dc /sys/dev/ixl/ixl.h
parent8e60fa95cb5d4ee7e70601a9b8542240fb1c2522 (diff)
downloadsrc-bd937497ea2a1111d9cf6ff1cdbe698b3cdd430a.tar.gz
src-bd937497ea2a1111d9cf6ff1cdbe698b3cdd430a.zip
Consistently use `device_t`
Several files use the internal name of `struct device` instead of `device_t` which is part of the public API. This patch changes all `struct device *` to `device_t`. The remaining occurrences of `struct device` are those referring to the Linux or OpenBSD version of the structure, or the code is not built on FreeBSD and it's unclear what to do. Submitted by: Matthew Macy <mmacy@nextbsd.org> (previous version) Approved by: emaste, jhibbits, sbruno MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D7447
Notes
Notes: svn path=/head/; revision=303890
Diffstat (limited to 'sys/dev/ixl/ixl.h')
-rw-r--r--sys/dev/ixl/ixl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixl/ixl.h b/sys/dev/ixl/ixl.h
index bfb708a709f5..1a92edbc15e7 100644
--- a/sys/dev/ixl/ixl.h
+++ b/sys/dev/ixl/ixl.h
@@ -512,7 +512,7 @@ SLIST_HEAD(ixl_ftl_head, ixl_mac_filter);
struct ixl_vsi {
void *back;
struct ifnet *ifp;
- struct device *dev;
+ device_t dev;
struct i40e_hw *hw;
struct ifmedia media;
enum i40e_vsi_type type;