• Douglas Thompson's avatar
    drivers/edac: split out functions to unique files · 7c9281d7
    Douglas Thompson authored
    This is a large patch to refactor the original EDAC module in the kernel
    and to break it up into better file granularity, such that each source
    file contains a given subsystem of the EDAC CORE.
    
    Originally, the EDAC 'core' was contained in one source file: edac_mc.c
    with it corresponding edac_mc.h file.
    
    Now, there are the following files:
    
    edac_module.c	The main module init/exit function and other overhead
    edac_mc.c	Code handling the edac_mc class of object
    edac_mc_sysfs.c	Code handling for sysfs presentation
    edac_pci_sysfs.c  Code handling for PCI sysfs presentation
    edac_core.h	CORE .h include file for 'edac_mc' and 'edac_device' drivers
    edac_module.h	Internal CORE .h include file
    
    This forms a foundation upon which a later patch can create the 'edac_device'
    class of object code in a new file 'edac_device.c'.
    Signed-off-by: default avatarDouglas Thompson <dougthompson@xmission.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    7c9281d7
edac_module.h 1.44 KB