diff options
author | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2016-08-09 19:32:06 +0000 |
---|---|---|
committer | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2016-08-09 19:32:06 +0000 |
commit | bd937497ea2a1111d9cf6ff1cdbe698b3cdd430a (patch) | |
tree | cd36a4cc1858d305bf7632b49f8862e1ea5067dc /sys/sys/pcpu.h | |
parent | 8e60fa95cb5d4ee7e70601a9b8542240fb1c2522 (diff) | |
download | src-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/sys/pcpu.h')
-rw-r--r-- | sys/sys/pcpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h index d6d1b3d82c7b..8e6a71a8c1ea 100644 --- a/sys/sys/pcpu.h +++ b/sys/sys/pcpu.h @@ -160,7 +160,7 @@ struct pcpu { struct lock_list_entry *pc_spinlocks; struct vmmeter pc_cnt; /* VM stats counters */ long pc_cp_time[CPUSTATES]; /* statclock ticks */ - struct device *pc_device; + device_t pc_device; void *pc_netisr; /* netisr SWI cookie */ int pc_unused1; /* unused field */ int pc_domain; /* Memory domain. */ |