.. | .. |
---|
1 | | -/* |
---|
2 | | - * chromeos_pstore.c - Driver to instantiate Chromebook ramoops device |
---|
3 | | - * |
---|
4 | | - * Copyright (C) 2013 Google, Inc. |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License as published by |
---|
8 | | - * the Free Software Foundation, version 2 of the License. |
---|
9 | | - */ |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
| 2 | +// Driver to instantiate Chromebook ramoops device. |
---|
| 3 | +// |
---|
| 4 | +// Copyright (C) 2013 Google, Inc. |
---|
10 | 5 | |
---|
11 | 6 | #include <linux/acpi.h> |
---|
12 | 7 | #include <linux/dmi.h> |
---|
.. | .. |
---|
62 | 57 | .record_size = 0x40000, |
---|
63 | 58 | .console_size = 0x20000, |
---|
64 | 59 | .ftrace_size = 0x20000, |
---|
65 | | - .dump_oops = 1, |
---|
| 60 | + .pmsg_size = 0x20000, |
---|
| 61 | + .max_reason = KMSG_DUMP_OOPS, |
---|
66 | 62 | }; |
---|
67 | 63 | |
---|
68 | 64 | static struct platform_device chromeos_ramoops = { |
---|
.. | .. |
---|
138 | 134 | module_init(chromeos_pstore_init); |
---|
139 | 135 | module_exit(chromeos_pstore_exit); |
---|
140 | 136 | |
---|
141 | | -MODULE_DESCRIPTION("Chrome OS pstore module"); |
---|
142 | | -MODULE_LICENSE("GPL"); |
---|
| 137 | +MODULE_DESCRIPTION("ChromeOS pstore module"); |
---|
| 138 | +MODULE_LICENSE("GPL v2"); |
---|