mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
As each board and system has different memory for ramoops. It's better to define the platform data instead of module params. [[email protected]: fix ramoops_remove() return type] Signed-off-by: Kyungmin Park <[email protected]> Cc: Marco Stornelli <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
16 lines
265 B
C
16 lines
265 B
C
#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
|