summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorAlexander Aksenov <a.aksenov@samsung.com>2013-02-09 19:29:40 +0400
committerAlexander Aksenov <a.aksenov@samsung.com>2013-02-09 19:29:40 +0400
commit027c644224f52c3fb9e09099e5905437c333f882 (patch)
tree2271fd0b6e75269324a87c4d9eb348fc5645c59e /driver
parent71fc2a42aeb7ba09af6e1bffa364e432d4f5171e (diff)
downloadswap-modules-027c644224f52c3fb9e09099e5905437c333f882.tar.gz
swap-modules-027c644224f52c3fb9e09099e5905437c333f882.tar.bz2
swap-modules-027c644224f52c3fb9e09099e5905437c333f882.zip
Fix sparce warnings in module module
Diffstat (limited to 'driver')
-rw-r--r--driver/module.c2
-rw-r--r--driver/module.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/driver/module.c b/driver/module.c
index ee44c3d6..c74dc82a 100644
--- a/driver/module.c
+++ b/driver/module.c
@@ -62,8 +62,6 @@ void __put_task_struct(struct task_struct *tsk)
void (*flush_cache_page) (struct vm_area_struct * vma, unsigned long page);
#endif
-#include "../../tools/gpmu/probes/entry_data.h"
-
storage_arg_t sa_dpf;
static int __init InitializeModule(void)
diff --git a/driver/module.h b/driver/module.h
index fe774720..22fc12e6 100644
--- a/driver/module.h
+++ b/driver/module.h
@@ -71,9 +71,11 @@
#include "device_driver.h"
#include "probes_manager.h"
#include "probes.h"
+#include "../../tools/gpmu/probes/entry_data.h"
extern char *device_name;
extern unsigned int device_major;
+extern storage_arg_t sa_dpf;
struct handler_map {
unsigned long func_addr;