staging: mrst: ossync: Make sync_list and sync_lock static
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Dec 2011 16:37:21 +0000 (18:37 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:29:15 +0000 (12:29 +0300)
drivers/staging/mrst/pvr/services4/srvkm/env/linux/ossync.c:30:1: warning: symbol 'sync_lock' was not declared. Should it be static?
drivers/staging/mrst/pvr/services4/srvkm/env/linux/ossync.c:31:1: warning: symbol 'sync_list' was not declared. Should it be static?

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/staging/mrst/pvr/services4/srvkm/env/linux/ossync.c

index 601a23e..a7fcdf8 100644 (file)
@@ -27,8 +27,8 @@
 #include "ossync.h"
 #include "servicesint.h"
 
-DEFINE_SPINLOCK(sync_lock);
-LIST_HEAD(sync_list);
+static DEFINE_SPINLOCK(sync_lock);
+static LIST_HEAD(sync_list);
 
 #define ops_after(a, b) ((s32)(b) - (s32)(a) < 0)