devices/ccat/update.c
branchstable-1.5
changeset 2565 f7b06b264646
parent 2559 a24ff468cb25
child 2567 d70aad2f131f
--- a/devices/ccat/update.c	Fri Apr 25 17:32:49 2014 +0200
+++ b/devices/ccat/update.c	Tue May 06 17:23:33 2014 +0200
@@ -402,7 +402,7 @@
 		goto cleanup;
 	}
 
-	if (alloc_chrdev_region(&update->dev, 0, 1, DRV_NAME)) {
+	if (alloc_chrdev_region(&update->dev, 0, 1, KBUILD_MODNAME)) {
 		pr_warn("alloc_chrdev_region() failed\n");
 		goto cleanup;
 	}