freebsd-dev/sys/dev/extres
Conrad Meyer e2e050c8ef Extract eventfilter declarations to sys/_eventfilter.h
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h"
in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces header
pollution substantially.

EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .c
files into appropriate headers (e.g., sys/proc.h, powernv/opal.h).

As a side effect of reduced header pollution, many .c files and headers no
longer contain needed definitions.  The remainder of the patch addresses
adding appropriate includes to fix those files.

LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required by
sys/mutex.h since r326106 (but silently protected by header pollution prior
to this change).

No functional change (intended).  Of course, any out of tree modules that
relied on header pollution for sys/eventhandler.h, sys/lock.h, or
sys/mutex.h inclusion need to be fixed.  __FreeBSD_version has been bumped.
2019-05-20 00:38:23 +00:00
..
clk extres: clk: Fix clk_set_assigned 2018-11-29 19:06:05 +00:00
hwreset Remove redundant declarations. Newer gcc has a warning for these so will 2017-08-19 17:18:27 +00:00
nvmem nvmem: Add nvmem interface and helpers 2018-07-31 19:08:24 +00:00
phy extres: Unify error codes for <foo>_get_by_ofw_property() methods. 2019-03-19 14:30:54 +00:00
regulator extres: Unify error codes for <foo>_get_by_ofw_property() methods. 2019-03-19 14:30:54 +00:00
syscon Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00