aboutsummaryrefslogtreecommitdiffstats
path: root/block/bsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/bsg.c')
-rw-r--r--block/bsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bsg.c b/block/bsg.c
index 167d586cece6..4cf703fd98bb 100644
--- a/block/bsg.c
+++ b/block/bsg.c
@@ -1068,7 +1068,7 @@ EXPORT_SYMBOL_GPL(bsg_register_queue);
1068 1068
1069static struct cdev bsg_cdev; 1069static struct cdev bsg_cdev;
1070 1070
1071static char *bsg_devnode(struct device *dev, mode_t *mode) 1071static char *bsg_devnode(struct device *dev, umode_t *mode)
1072{ 1072{
1073 return kasprintf(GFP_KERNEL, "bsg/%s", dev_name(dev)); 1073 return kasprintf(GFP_KERNEL, "bsg/%s", dev_name(dev));
1074} 1074}