mmc: core: SDXC speed class support
[linux-2.6.git] / include / linux / pstore.h
index 2455ef2..cc03bbf 100644 (file)
@@ -38,9 +38,12 @@ struct pstore_info {
        int             (*open)(struct pstore_info *psi);
        int             (*close)(struct pstore_info *psi);
        ssize_t         (*read)(u64 *id, enum pstore_type_id *type,
-                       struct timespec *time);
-       u64             (*write)(enum pstore_type_id type, size_t size);
-       int             (*erase)(u64 id);
+                       struct timespec *time, struct pstore_info *psi);
+       u64             (*write)(enum pstore_type_id type, unsigned int part,
+                       size_t size, struct pstore_info *psi);
+       int             (*erase)(enum pstore_type_id type, u64 id,
+                       struct pstore_info *psi);
+       void            *data;
 };
 
 #ifdef CONFIG_PSTORE