aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ramoops.h
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2010-10-27 18:34:52 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 21:03:18 -0400
commitc3b92ce9e75f6353104fc7f8e32fb9fdb2550ad0 (patch)
tree0b3086e8274eaff2741bdbb4199896597a0d9b57 /include/linux/ramoops.h
parent5de1cb2d0f1c1e5475d2bedf65b76828f8cdde22 (diff)
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 @@
1#ifndef __RAMOOPS_H
2#define __RAMOOPS_H
3
4/*
5 * Ramoops platform data
6 * @mem_size memory size for ramoops
7 * @mem_address physical memory address to contain ramoops
8 */
9
10struct ramoops_platform_data {
11 unsigned long mem_size;
12 unsigned long mem_address;
13};
14
15#endif