HomeFreeBSD

sdiob: Forward-declare struct sdio_func

Description

sdiob: Forward-declare struct sdio_func

Currently this happens as a side effect of the return type of
sdio_get_function() in the expansion of BUS_ACCESSOR, but this is
fragile and can break if
BUS_ACCESSOR changes to define other
functions first.

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

(cherry picked from commit 82b293ea6987ebcadf1142acd2218f50ab5e3fc8)

Details

Provenance
jhbAuthored on Feb 24 2026, 8:26 PM
Reviewer
imp
Differential Revision
D55351: sdiob: Forward-declare struct sdio_func
Parents
rG2e3a575bf7a5: ccp: Don't name anonymous structure and union types
Branches
Unknown
Tags
Unknown