aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorchipset/file.c
diff options
context:
space:
mode:
authorBryan Thompson <bryan.thompson@unisys.com>2014-12-05 17:09:25 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-09 17:32:35 -0800
commit383df64e02029c78875f19d76e7f40483fc9fe10 (patch)
tree600b8850cf3836da5a70579aa3608daa72e54734 /drivers/staging/unisys/visorchipset/file.c
parentstaging: unisys: visorchannel: Describe spinlocks in VISORCHANNEL_Tag struct (diff)
downloadlinux-dev-383df64e02029c78875f19d76e7f40483fc9fe10.tar.xz
linux-dev-383df64e02029c78875f19d76e7f40483fc9fe10.zip
staging: unisys: Remove VISORCHANNEL typedef
Remove the VISORCHANNEL typedef and rename the base VISORCHANNEL_Tag structure to visorchannel to follow consistent naming. The longer struct visorchannel type required additional line wrapping to remain less than 81 characters. Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorchipset/file.c')
-rw-r--r--drivers/staging/unisys/visorchipset/file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorchipset/file.c b/drivers/staging/unisys/visorchipset/file.c
index ced3fbe1dce3..e51fd4e3fa2d 100644
--- a/drivers/staging/unisys/visorchipset/file.c
+++ b/drivers/staging/unisys/visorchipset/file.c
@@ -29,7 +29,7 @@
#define CURRENT_FILE_PC VISOR_CHIPSET_PC_file_c
static struct cdev file_cdev;
-static VISORCHANNEL **file_controlvm_channel;
+static struct visorchannel **file_controlvm_channel;
static dev_t majordev = -1; /**< indicates major num for device */
static BOOL registered = FALSE;
@@ -48,7 +48,8 @@ static const struct file_operations visorchipset_fops = {
.mmap = visorchipset_mmap,
};
-int visorchipset_file_init(dev_t major_dev, VISORCHANNEL **controlvm_channel)
+int
+visorchipset_file_init(dev_t major_dev, struct visorchannel **controlvm_channel)
{
int rc = 0;