pds_vdpa: subscribe to the pds_core events
[sfrench/cifs-2.6.git] / drivers / vdpa / pds / vdpa_dev.h
index 25c1d192f0efb52840956169cad54330a333a003..a1bc37de953746e1fc9250308bf81a701304e1fe 100644 (file)
@@ -40,6 +40,7 @@ struct pds_vdpa_device {
        u8 vdpa_index;                  /* rsvd for future subdevice use */
        u8 num_vqs;                     /* num vqs in use */
        struct vdpa_callback config_cb;
+       struct notifier_block nb;
 };
 
 #define PDS_VDPA_PACKED_INVERT_IDX     0x8000