pstore: fix one type of return value in pstore
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / pstore.h
index 4197773..14ce2f5 100644 (file)
@@ -35,7 +35,7 @@ struct pstore_info {
        struct mutex    buf_mutex;      /* serialize access to 'buf' */
        char            *buf;
        size_t          bufsize;
-       size_t          (*read)(u64 *id, enum pstore_type_id *type,
+       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);