summaryrefslogtreecommitdiff
path: root/include/linux/ramoops.h
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2010-10-28 02:34:52 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-28 05:03:18 +0400
commitc3b92ce9e75f6353104fc7f8e32fb9fdb2550ad0 (patch)
tree0b3086e8274eaff2741bdbb4199896597a0d9b57 /include/linux/ramoops.h
parent5de1cb2d0f1c1e5475d2bedf65b76828f8cdde22 (diff)
downloadlinux-c3b92ce9e75f6353104fc7f8e32fb9fdb2550ad0.tar.xz
ramoops: use the platform data structure instead of module params
As each board and system has different memory for ramoops. It's better to define the platform data instead of module params. [akpm@linux-foundation.org: fix ramoops_remove() return type] Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marco Stornelli <marco.stornelli@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/ramoops.h')
-rw-r--r--include/linux/ramoops.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/ramoops.h b/include/linux/ramoops.h
new file mode 100644
index 000000000000..0ae68a2c1212
--- /dev/null
+++ b/include/linux/ramoops.h
@@ -0,0 +1,15 @@
+#ifndef __RAMOOPS_H
+#define __RAMOOPS_H
+
+/*
+ * Ramoops platform data
+ * @mem_size memory size for ramoops
+ * @mem_address physical memory address to contain ramoops
+ */
+
+struct ramoops_platform_data {
+ unsigned long mem_size;
+ unsigned long mem_address;
+};
+
+#endif