| #
53beb695 |
| 02-Oct-2026 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI; factor out parts of device.h into device/devres.h
In [1] it was pointed out that devm_kmemdup_* have moved apparently in Linux 7.0 into their own device/devres.h header file from device.h.
LinuxKPI; factor out parts of device.h into device/devres.h
In [1] it was pointed out that devm_kmemdup_* have moved apparently in Linux 7.0 into their own device/devres.h header file from device.h. Move them and other parts (some being dependencies) along.
device/devres.h gets included from device.h so all that changes is prototype, macro, and inline function ordering.
This should prepare us in case drivers start directly including the sub-header. It also helps to keep device.h more reasable.
Suggested by: dumbbell (in D56396) [1] MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D60213
show more ...
|