Re: [PATCH v1 1/1] iio: core: Split debugfs routines

From: Andy Shevchenko

Date: Tue Nov 24 2026 - 06:04:27 EST


On Tue, Nov 24, 2026 at 11:51:11AM +0100, Joshua Crofts wrote:
> On 24-Nov-26 11:46, Andy Shevchenko wrote:
> >> > +static const struct file_operations iio_debugfs_reg_fops = {
> >> > + .open = simple_open,
> >> > + .read = iio_debugfs_read_reg,
> >> > + .write = iio_debugfs_write_reg,
> >> > +};
> >> > +
> >> > +static void iio_device_unregister_debugfs(struct iio_dev *indio_dev)
> >>
> >> Static here but not in the header file. Same goes for register_debugfs().
> >
> > Oh, how does it compile?
> Unfortunately it doesn't :(

It means I have DEBUG_FS disabled (in the configuration I used for compile-test)!

--
With Best Regards,
Andy Shevchenko