File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ int iommu_group_replace_domain(struct iommu_group *group,
21
21
struct iommu_domain * new_domain );
22
22
23
23
int iommu_device_register_bus (struct iommu_device * iommu ,
24
- const struct iommu_ops * ops , struct bus_type * bus ,
24
+ const struct iommu_ops * ops ,
25
+ const struct bus_type * bus ,
25
26
struct notifier_block * nb );
26
27
void iommu_device_unregister_bus (struct iommu_device * iommu ,
27
- struct bus_type * bus ,
28
+ const struct bus_type * bus ,
28
29
struct notifier_block * nb );
29
30
30
31
#endif /* __LINUX_IOMMU_PRIV_H */
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ EXPORT_SYMBOL_GPL(iommu_device_unregister);
289
289
290
290
#if IS_ENABLED (CONFIG_IOMMUFD_TEST )
291
291
void iommu_device_unregister_bus (struct iommu_device * iommu ,
292
- struct bus_type * bus ,
292
+ const struct bus_type * bus ,
293
293
struct notifier_block * nb )
294
294
{
295
295
bus_unregister_notifier (bus , nb );
@@ -303,7 +303,8 @@ EXPORT_SYMBOL_GPL(iommu_device_unregister_bus);
303
303
* some memory to hold a notifier_block.
304
304
*/
305
305
int iommu_device_register_bus (struct iommu_device * iommu ,
306
- const struct iommu_ops * ops , struct bus_type * bus ,
306
+ const struct iommu_ops * ops ,
307
+ const struct bus_type * bus ,
307
308
struct notifier_block * nb )
308
309
{
309
310
int err ;
You can’t perform that action at this time.
0 commit comments