summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c
diff options
context:
space:
mode:
authorJohn L. Hammond <john.hammond@intel.com>2018-03-30 15:10:06 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 14:56:00 +0200
commitba833f145745c5ca4d1d45b1de2541fe34b8f100 (patch)
treec3373bbf85b911783dc3fbab36af3d98e537cb72 /drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c
parent2acf8359b371cf4c7b964faafa49dc8762c79ab4 (diff)
downloadop-kernel-dev-ba833f145745c5ca4d1d45b1de2541fe34b8f100.zip
op-kernel-dev-ba833f145745c5ca4d1d45b1de2541fe34b8f100.tar.gz
staging: lustre: libcfs: use dynamic minors for /dev/{lnet, obd}
Request dynamic minor allocation when registering /dev/lnet and /dev/obd. Signed-off-by: John L. Hammond <john.hammond@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-100086 Reviewed-on: https://review.whamcloud.com/29741 Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: Jian Yu <jian.yu@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Reviewed-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c')
-rw-r--r--drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c b/drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c
index 0092166..1d728f1 100644
--- a/drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c
+++ b/drivers/staging/lustre/lnet/libcfs/linux/linux-debug.c
@@ -48,7 +48,6 @@
#include <linux/completion.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
-#include <linux/miscdevice.h>
# define DEBUG_SUBSYSTEM S_LNET
OpenPOWER on IntegriCloud