]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: Fix double sysfs create for module version
authorDon Zickus <dzickus@redhat.com>
Thu, 4 Jun 2015 13:22:47 +0000 (09:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 20:36:44 +0000 (13:36 -0700)
commitff312c2f4deed60a95f65834c417a53a738aa582
treea75b08b228586ae54de561b842efc71ed3cae60c
parent8a93ec1b056cb2fb2daa67019e64b1ba6b8ceff1
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 <dzickus@redhat.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c