Staging: unisys: visorchipset: Clean up sparse warnings in visorchipset code.
authorKen Cox <jkc@redhat.com>
Thu, 13 Mar 2014 20:39:22 +0000 (15:39 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:45:44 +0000 (14:45 -0700)
Clean up code to get rid of sparse warnings due to accessing I/O space.  Also
declared functions and variables as static if they are only used locally.

Signed-off-by: Ken Cox <jkc@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/controlvm_direct.c
drivers/staging/unisys/visorchipset/file.c
drivers/staging/unisys/visorchipset/visorchipset_main.c

index 7fbc589..b911ea8 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "globals.h"
 #include "uisutils.h"
+#include "controlvm.h"
 #define CURRENT_FILE_PC VISOR_CHIPSET_PC_controlvm_direct_c