pvr_debugfs: Fix inline function declaration
authorAndrew Boie <andrew.p.boie@intel.com>
Thu, 2 Feb 2012 00:30:52 +0000 (16:30 -0800)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:29:41 +0000 (12:29 +0300)
This fixes a compilation error if CONFIG_DEBUG_FS isn't enabled.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/pvr/pvr_debugfs.h

index 00c14f5..98c91fd 100644 (file)
@@ -6,7 +6,8 @@ void pvr_debugfs_hwrec_create_snapshot(PVRSRV_DEVICE_NODE *dev_node);
 int pvr_debugfs_init(void);
 void pvr_debugfs_cleanup(void);
 #else
-void pvr_debugfs_hwrec_create_snapshot(PVRSRV_DEVICE_NODE *dev_node)
+static inline void pvr_debugfs_hwrec_create_snapshot(
+               PVRSRV_DEVICE_NODE *dev_node)
 {
 }
 static inline int pvr_debugfs_init(void)