efi_pstore: Add ctime to argument of erase callback
[cascardo/linux.git] / drivers / acpi / apei / erst.c
index e4d9d24..0bd6ae4 100644 (file)
@@ -938,7 +938,7 @@ static int erst_writer(enum pstore_type_id type, enum kmsg_dump_reason reason,
                       u64 *id, unsigned int part,
                       size_t size, struct pstore_info *psi);
 static int erst_clearer(enum pstore_type_id type, u64 id,
-                       struct pstore_info *psi);
+                       struct timespec time, struct pstore_info *psi);
 
 static struct pstore_info erst_info = {
        .owner          = THIS_MODULE,
@@ -1102,7 +1102,7 @@ static int erst_writer(enum pstore_type_id type, enum kmsg_dump_reason reason,
 }
 
 static int erst_clearer(enum pstore_type_id type, u64 id,
-                       struct pstore_info *psi)
+                       struct timespec time, struct pstore_info *psi)
 {
        return erst_clear(id);
 }