]> git.baikalelectronics.ru Git - kernel.git/commit
EDAC: Export edac sysfs class to users.
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 2 Sep 2010 15:26:48 +0000 (17:26 +0200)
committerBorislav Petkov <bp@amd64.org>
Thu, 21 Oct 2010 12:47:59 +0000 (14:47 +0200)
commit818b096e5279338220796ddedc93c8e6702af396
treead1b549b88319b074505eed41914dd7b70f5434c
parent90b4955bcbe25c05d8c82f1af5f9ae70336234d6
EDAC: Export edac sysfs class to users.

Move toplevel sysfs class to the stub and make it available to
non-modularized code too. Add proper refcounting of its users and move
the registration functionality into the reference counting routines.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/edac_device_sysfs.c
drivers/edac/edac_mc_sysfs.c
drivers/edac/edac_module.c
drivers/edac/edac_module.h
drivers/edac/edac_pci_sysfs.c
drivers/edac/edac_stub.c
include/linux/edac.h