diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2010-10-27 15:34:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 18:03:18 -0700 |
commit | c3b92ce9e75f6353104fc7f8e32fb9fdb2550ad0 (patch) | |
tree | 0b3086e8274eaff2741bdbb4199896597a0d9b57 /include | |
parent | 5de1cb2d0f1c1e5475d2bedf65b76828f8cdde22 (diff) | |
download | linux-c3b92ce9e75f6353104fc7f8e32fb9fdb2550ad0.tar.gz linux-c3b92ce9e75f6353104fc7f8e32fb9fdb2550ad0.tar.bz2 linux-c3b92ce9e75f6353104fc7f8e32fb9fdb2550ad0.zip |
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')
-rw-r--r-- | include/linux/ramoops.h | 15 |
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 |