greybus: hd: add flag argument to cport_enable callback
[cascardo/linux.git] / drivers / staging / greybus / hd.h
index 5136d0c..d5d8c67 100644 (file)
@@ -19,7 +19,8 @@ struct gb_hd_driver {
        int (*cport_allocate)(struct gb_host_device *hd, int cport_id,
                                unsigned long flags);
        void (*cport_release)(struct gb_host_device *hd, u16 cport_id);
-       int (*cport_enable)(struct gb_host_device *hd, u16 cport_id);
+       int (*cport_enable)(struct gb_host_device *hd, u16 cport_id,
+                               unsigned long flags);
        int (*cport_disable)(struct gb_host_device *hd, u16 cport_id);
        int (*cport_flush)(struct gb_host_device *hd, u16 cport_id);
        int (*cport_ping)(struct gb_host_device *hd, u16 cport_id);