Andrew Donnellan <[email protected]> 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 one and two instruction functions generated in your vmlinux, which is less neat. cheers
