summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lustre/obdclass/linux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-24 10:21:26 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-24 10:21:26 -0700
commitc0426cf7df119c68a9715713f9dbf07862172f04 (patch)
tree49f6fcc148752598b0bcbf3e9bfa7cece59f0210 /drivers/staging/lustre/lustre/obdclass/linux
parent0f1c743b992908ac2a31c7fec0e0fcac003deee5 (diff)
staging: lustre: a typedef for 'struct miscdevice'???
Come on, that's just silly... Anyway, remove the typedef and fix up the initializer to use named fields, otherwise bad things might happen in the future. Cc: Peng Tao <tao.peng@emc.com> Cc: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/obdclass/linux')
-rw-r--r--drivers/staging/lustre/lustre/obdclass/linux/linux-module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c b/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c
index 2abacf206531..9fe53f3a98ce 100644
--- a/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c
+++ b/drivers/staging/lustre/lustre/obdclass/linux/linux-module.c
@@ -211,7 +211,7 @@ static struct file_operations obd_psdev_fops = {
};
/* modules setup */
-psdev_t obd_psdev = {
+struct miscdevice obd_psdev = {
.minor = OBD_DEV_MINOR,
.name = OBD_DEV_NAME,
.fops = &obd_psdev_fops,