From: Don Zickus Date: Thu, 4 Jun 2015 13:22:47 +0000 (-0400) Subject: staging: unisys: Fix double sysfs create for module version X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=75439a17d4e82f630a86b4ca07a6d38ca6fbaa21;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: unisys: Fix double sysfs create for module version When we combined visorchipset and visorbus into one driver we negelected to strip out some of the MODULE_ stuff from one of the files. When building the drivers in, it causes a WARN that we try to create /proc/modules/visorbus/version when it is already created. visorchipset.c is the driver entry point, remove the cruft from visorbus_main.c. Signed-off-by: Don Zickus Signed-off-by: David Kershner Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index 688bd8494fe4..22c6150f543e 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -1531,8 +1531,3 @@ MODULE_PARM_DESC(visorbus_forcenomatch, module_param_named(debugref, visorbus_debugref, int, S_IRUGO); MODULE_PARM_DESC(visorbus_debugref, "1 to debug reference counting"); - -MODULE_AUTHOR("Unisys"); -MODULE_LICENSE("GPL"); -MODULE_DESCRIPTION("Supervisor bus driver for service partition: ver " VERSION); -MODULE_VERSION(VERSION);