drm/rockchip: add DRM_RENDER_ALLOW
[firefly-linux-kernel-4.4.55.git] / include / linux / firewire.h
index 5d838bf10cbdab1aec2b60037ac1bdb17d12059a..d4b7683c722d6311f05a2e60d1849e91f4e34dca 100644 (file)
@@ -252,8 +252,10 @@ struct ieee1394_device_id;
 
 struct fw_driver {
        struct device_driver driver;
+       int (*probe)(struct fw_unit *unit, const struct ieee1394_device_id *id);
        /* Called when the parent device sits through a bus reset. */
        void (*update)(struct fw_unit *unit);
+       void (*remove)(struct fw_unit *unit);
        const struct ieee1394_device_id *id_table;
 };
 
@@ -365,6 +367,9 @@ static inline int fw_stream_packet_destination_id(int tag, int channel, int sy)
        return tag << 14 | channel << 8 | sy;
 }
 
+void fw_schedule_bus_reset(struct fw_card *card, bool delayed,
+                          bool short_reset);
+
 struct fw_descriptor {
        struct list_head link;
        size_t length;