HomeFreeBSD

devclass_add_driver: Permit NULL to be passed in dcp.

Description

devclass_add_driver: Permit NULL to be passed in dcp.

This permits a driver module structure that doesn't want to store a
pointer to the new driver's devclass.

Reviewed by: imp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D34962

Details

Provenance
jhbAuthored on Apr 19 2022, 5:42 PM
Reviewer
imp
Differential Revision
D34962: devclass_add_driver: Permit NULL to be passed in dcp.
Parents
rG434215c26da3: Merge libcxxrt commit 45ca8b1942090226ba9368caeeeabc0d4ee41ad6
Branches
Unknown
Tags
Unknown