summaryrefslogtreecommitdiff
path: root/drivers/dax/bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dax/bus.h')
-rw-r--r--drivers/dax/bus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dax/bus.h b/drivers/dax/bus.h
index 72b92f95509f..1e946ad7780a 100644
--- a/drivers/dax/bus.h
+++ b/drivers/dax/bus.h
@@ -39,7 +39,7 @@ struct dax_device_driver {
struct list_head ids;
int match_always;
int (*probe)(struct dev_dax *dev);
- int (*remove)(struct dev_dax *dev);
+ void (*remove)(struct dev_dax *dev);
};
int __dax_driver_register(struct dax_device_driver *dax_drv,