Andrew Donnellan writes:
> Stub out the debugfs functions so that the build doesn't break when
> CONFIG_DEBUG_FS=n.
It's not a big deal, but it's preferable to do the stubs as static
inlines in a header. That way they generate no code.
Doing it this way, in a C file, you'll still get lots of on
Stub out the debugfs functions so that the build doesn't break when
CONFIG_DEBUG_FS=n.
Reported-by: Michael Ellerman
Signed-off-by: Andrew Donnellan
---
drivers/misc/cxl/debugfs.c | 49 ++
1 file changed, 49 insertions(+)
diff --git a/drivers/misc/cx