]> err.no Git - linux-2.6/blobdiff - include/linux/memstick.h
memstick: allow "set_param" method to return an error code
[linux-2.6] / include / linux / memstick.h
index 37a5cdb03918ffcee2a390b12fe391cdfbf62e69..2fe599c66d527da990761936ed141e9f9a44dd2c 100644 (file)
@@ -284,7 +284,7 @@ struct memstick_host {
        /* Notify the host that some requests are pending. */
        void                (*request)(struct memstick_host *host);
        /* Set host IO parameters (power, clock, etc).     */
-       void                (*set_param)(struct memstick_host *host,
+       int                 (*set_param)(struct memstick_host *host,
                                         enum memstick_param param,
                                         int value);
        unsigned long       private[0] ____cacheline_aligned;