Re: [oss-drivers] [PATCH v2] debugfs: add definition of debugfs_real_fops() if CONFIG_DEBUG_FS unset

From: Simon Horman
Date: Tue Nov 28 2017 - 06:47:26 EST


On Mon, Nov 27, 2017 at 12:35:44PM -0800, Jakub Kicinski wrote:
> Recent commit moved the implementation of debugfs_real_fops()
> out of the header file. The declaration, however, is only
> provided if CONFIG_DEBUG_FS is set. Add an empty static inline
> definition for when CONFIG_DEBUG_FS is unset.
>
> Fixes: 7c8d469877b1 ("debugfs: add support for more elaborate ->d_fsdata")
> Signed-off-by: Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxxx>