]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/mlx5/driver.h
mlx5: Adjust events to use unsigned long param instead of void *
[karo-tx-linux.git] / include / linux / mlx5 / driver.h
index 76de0cc41640ad6e51a8eb9879e56eec41e58f0f..9f3a5476bb713d1a8fc94166e0dcce055534d4c7 100644 (file)
@@ -559,7 +559,7 @@ struct mlx5_core_dev {
        struct mlx5_init_seg __iomem *iseg;
        void                    (*event) (struct mlx5_core_dev *dev,
                                          enum mlx5_dev_event event,
-                                         void *data);
+                                         unsigned long param);
        struct mlx5_priv        priv;
        struct mlx5_profile     *profile;
        atomic_t                num_qps;
@@ -817,7 +817,7 @@ struct mlx5_interface {
        void *                  (*add)(struct mlx5_core_dev *dev);
        void                    (*remove)(struct mlx5_core_dev *dev, void *context);
        void                    (*event)(struct mlx5_core_dev *dev, void *context,
-                                        enum mlx5_dev_event event, void *data);
+                                        enum mlx5_dev_event event, unsigned long param);
        struct list_head        list;
 };