Unverified Commit b88c168e authored by Arthur Grillo's avatar Arthur Grillo Committed by Maíra Canal
Browse files

drm/debugfs: Add inline to drm_debugfs_dev_init() to suppres -Wunused-function

parent e4a0fbdd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -584,7 +584,7 @@ static inline bool drm_firmware_drivers_only(void)
#if defined(CONFIG_DEBUG_FS)
void drm_debugfs_dev_init(struct drm_device *dev, struct dentry *root);
#else
static void drm_debugfs_dev_init(struct drm_device *dev, struct dentry *root)
static inline void drm_debugfs_dev_init(struct drm_device *dev, struct dentry *root)
{
}
#endif