diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2010-10-27 22:34:52 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 01:03:18 (GMT) |
commit | c3b92ce9e75f6353104fc7f8e32fb9fdb2550ad0 (patch) | |
tree | 0b3086e8274eaff2741bdbb4199896597a0d9b57 /include/linux/ramoops.h | |
parent | 5de1cb2d0f1c1e5475d2bedf65b76828f8cdde22 (diff) | |
download | linux-fsl-qoriq-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.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 0000000..0ae68a2 --- /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 |