linuxkpi: Define debugfs_initialized()

It always return true on FreeBSD, at least for now, because all DRM
drivers using it depend on lindebugfs.

Reviewed by:	manu
Approved by:	manu
This commit is contained in:
Jean-Sébastien Pédron 2023-02-15 00:38:59 +01:00
parent d2070e5fa9
commit 4dac88cd15
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC

View File

@ -52,6 +52,13 @@ struct debugfs_blob_wrapper {
size_t size;
};
static inline bool
debugfs_initialized(void)
{
return (true);
}
struct dentry *debugfs_create_file(const char *name, umode_t mode,
struct dentry *parent, void *data,
const struct file_operations *fops);