hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/drivers/platform/chrome/chromeos_pstore.c
....@@ -1,12 +1,7 @@
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.
105
116 #include <linux/acpi.h>
127 #include <linux/dmi.h>
....@@ -62,7 +57,8 @@
6257 .record_size = 0x40000,
6358 .console_size = 0x20000,
6459 .ftrace_size = 0x20000,
65
- .dump_oops = 1,
60
+ .pmsg_size = 0x20000,
61
+ .max_reason = KMSG_DUMP_OOPS,
6662 };
6763
6864 static struct platform_device chromeos_ramoops = {
....@@ -138,5 +134,5 @@
138134 module_init(chromeos_pstore_init);
139135 module_exit(chromeos_pstore_exit);
140136
141
-MODULE_DESCRIPTION("Chrome OS pstore module");
142
-MODULE_LICENSE("GPL");
137
+MODULE_DESCRIPTION("ChromeOS pstore module");
138
+MODULE_LICENSE("GPL v2");