On Wed, Sep 29, 2021 at 03:50:40PM +0100, Simon Trimmer wrote: > +#if IS_ENABLED(CONFIG_DEBUG_FS) > cs_dsp_init_debugfs(&dsp->cs_dsp, component->debugfs_root); > +#endif The more common pattern is to declare a static inline stub function instead of the prototype if debugfs is disabled.
Attachment:
signature.asc
Description: PGP signature