removed /src/modules/driver/module_common.h
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Tue, 4 Dec 2012 08:11:08 +0000 (12:11 +0400)
committerVitaliy Cherepanov <v.cherepanov@samsung.com>
Tue, 4 Dec 2012 08:11:08 +0000 (12:11 +0400)
defines moved to /src/modules/driver/module.h

driver/module.c
driver/module.h
driver/module_common.h [deleted file]
driver/probes_manager.c
driver/storage.c

index 609d626..00e2472 100644 (file)
@@ -16,7 +16,6 @@
 ////////////////////////////////////////////////////////////////////////////////////
 
 #include "module.h"
-#include "module_common.h"
 
 char gl_szDefaultDeviceName[128] = DEFAULT_DEVICE_NAME;
 char* device_name = NULL;
index 0c13fd5..8439d35 100644 (file)
 extern char *device_name;
 extern unsigned int device_major;
 
+typedef unsigned long (*fp_kallsyms_lookup_name_t) (const char *name);
+
+//export by swap_kprobes.ko
+extern fp_kallsyms_lookup_name_t lookup_name;
+
+struct handler_map {
+       unsigned long func_addr;
+       unsigned long jp_handler_addr;
+       unsigned long rp_handler_addr;
+       char * func_name;
+};
+
 #endif /* !defined(module_h) */
diff --git a/driver/module_common.h b/driver/module_common.h
deleted file mode 100644 (file)
index 125d687..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef MODULE_COMMON
-#define MODULE_COMMON
-
-typedef unsigned long (*fp_kallsyms_lookup_name_t) (const char *name);
-
-//export by swap_kprobes.ko
-extern fp_kallsyms_lookup_name_t lookup_name;
-
-struct handler_map {
-    unsigned long func_addr;
-    unsigned long jp_handler_addr;
-    unsigned long rp_handler_addr;
-    char * func_name;
-};
-#endif
index 6f11b55..3c748c0 100644 (file)
@@ -17,7 +17,6 @@
 
 #include <linux/percpu.h>
 #include "module.h"
-#include "module_common.h"
 #include "probes_manager.h"
 
 #ifdef EC_ARCH_arm
index af76b68..9e00f02 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/kernel.h>
 #include <linux/time.h>
 #include "module.h"
-#include "module_common.h"
 #include "storage.h"
 #include "handlers_core.h"
 #include "CProfile.h"