From: Jes Sorensen Date: Wed, 13 May 2015 17:21:55 +0000 (-0400) Subject: staging: unisys: visorchipset_file_{init, cleanup}(): mark static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0f570fc0ae56a5b7c8cdd1d1dff4e77ea2b8fa1c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: unisys: visorchipset_file_{init, cleanup}(): mark static Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- 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)