Merge tag 'wberr-v4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton...
[sfrench/cifs-2.6.git] / include / linux / fmc.h
index b6c73d54ca463c188f0878c338e09ac07bfcc450..3dc8a1b2db7beb59a2715e77ef17cce14c990fd4 100644 (file)
@@ -132,6 +132,8 @@ struct fmc_operations {
        uint32_t (*read32)(struct fmc_device *fmc, int offset);
        void (*write32)(struct fmc_device *fmc, uint32_t value, int offset);
        int (*validate)(struct fmc_device *fmc, struct fmc_driver *drv);
+       int (*reprogram_raw)(struct fmc_device *f, struct fmc_driver *d,
+                            void *gw, unsigned long len);
        int (*reprogram)(struct fmc_device *f, struct fmc_driver *d, char *gw);
        int (*irq_request)(struct fmc_device *fmc, irq_handler_t h,
                           char *name, int flags);
@@ -144,6 +146,8 @@ struct fmc_operations {
 };
 
 /* Prefer this helper rather than calling of fmc->reprogram directly */
+int fmc_reprogram_raw(struct fmc_device *fmc, struct fmc_driver *d,
+                     void *gw, unsigned long len, int sdb_entry);
 extern int fmc_reprogram(struct fmc_device *f, struct fmc_driver *d, char *gw,
                     int sdb_entry);