HomeFreeBSD

sys/module.h: allow MODULE_DEPEND to accept macros

Description

sys/module.h: allow MODULE_DEPEND to accept macros

Allow MODULE_DEPEND to accept macros by adding an extra level of
indirection. Some drivers in the tree actually depend on this being the
case.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D54874

Details

Provenance
vexeduxrAuthored on Jan 26 2026, 9:27 AM
Reviewer
imp
Differential Revision
D54874: sys/module: allow MODULE_DEPEND to accept macros
Parents
rG8ef8c6abfadf: cam/scsi: Restore scsi_start_stop() and add scsi_start_stop_pc()
Branches
Unknown
Tags
Unknown