From 0f570fc0ae56a5b7c8cdd1d1dff4e77ea2b8fa1c Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Wed, 13 May 2015 13:21:55 -0400 Subject: [PATCH] staging: unisys: visorchipset_file_{init, cleanup}(): mark static Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- drivers/staging/unisys/visorbus/visorchipset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index ca22f49f386b..66ae3d0b6441 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -2351,7 +2351,7 @@ static const struct file_operations visorchipset_fops = { .mmap = visorchipset_mmap, }; -int +static int visorchipset_file_init(dev_t major_dev, struct visorchannel **controlvm_channel) { int rc = 0; @@ -2460,7 +2460,7 @@ cleanup: return rc; } -void +static void visorchipset_file_cleanup(dev_t major_dev) { if (file_cdev.ops) -- 2.20.1