diff options
author | Colin Cross <ccross@android.com> | 2011-10-25 14:31:58 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-30 21:23:37 +0900 |
commit | a6707f830e39ab5ef285d9155525eac5e500e55d (patch) | |
tree | 53b9e70b2be25036afd6e12b8dccd364ec733285 /drivers/staging/android/ram_console.h | |
parent | 2b374956f3afee5857c85b073d726be11f4d2e9b (diff) | |
download | op-kernel-dev-a6707f830e39ab5ef285d9155525eac5e500e55d.zip op-kernel-dev-a6707f830e39ab5ef285d9155525eac5e500e55d.tar.gz |
staging: android: ram_console: pass in a boot info string
Allow the board file to pass a boot info string through the
platform data that is appended to the /proc/last_kmsg file.
[moved the .h file to drivers/staging/android/ to be self-contained - gregkh]
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/android/ram_console.h')
-rw-r--r-- | drivers/staging/android/ram_console.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/staging/android/ram_console.h b/drivers/staging/android/ram_console.h new file mode 100644 index 0000000..9f1125c --- /dev/null +++ b/drivers/staging/android/ram_console.h @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2010 Google, Inc. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef _INCLUDE_LINUX_PLATFORM_DATA_RAM_CONSOLE_H_ +#define _INCLUDE_LINUX_PLATFORM_DATA_RAM_CONSOLE_H_ + +struct ram_console_platform_data { + const char *bootinfo; +}; + +#endif /* _INCLUDE_LINUX_PLATFORM_DATA_RAM_CONSOLE_H_ */ |