diff options
author | Sergiu Iordache <sergiu@chromium.org> | 2011-07-26 23:08:58 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 23:49:45 (GMT) |
commit | 6b4d2a2733b9a17112f746d498c9f9a0427dcdd8 (patch) | |
tree | c0c637da5ede8828728bad87fba41e7ca7f11ca1 /include/linux/ramoops.h | |
parent | 0169256e4bbf29e507cdd1df5812c093d610f1d5 (diff) | |
download | linux-fsl-qoriq-6b4d2a2733b9a17112f746d498c9f9a0427dcdd8.tar.xz |
ramoops: move dump_oops into platform data
The platform driver currently allows setting the mem_size and
mem_address.
ince dump_oops is also a module parameter it would be more consistent if
it could be set through platform data as well.
Signed-off-by: Sergiu Iordache <sergiu@chromium.org>
Acked-by: Marco Stornelli <marco.stornelli@gmail.com>
Cc: "Ahmed S. Darwish" <darwish.07@gmail.com>
Cc: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Cc: Kyungmin Park <kyungmin.park@samsung.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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ramoops.h b/include/linux/ramoops.h index 0ae68a2..7105c4b 100644 --- a/include/linux/ramoops.h +++ b/include/linux/ramoops.h @@ -10,6 +10,7 @@ struct ramoops_platform_data { unsigned long mem_size; unsigned long mem_address; + int dump_oops; }; #endif |