Hi Martin, This patch series prepares for constifying SCSI host templates by moving the members that are not constant out of the SCSI host template. Please consider this patch series for the next merge window. Thanks, Bart. Changes compared to v2: - Optimized the show_info == NULL case. - Added a patch that removes the code that clears the module pointer in the host template. Changes compared to v1: - Fix the CONFIG_SCSI_PROC_FS=n build. Bart Van Assche (3): scsi: esas2r: Introduce scsi_template_proc_dir() scsi: core: Introduce a new list for SCSI proc directory entries scsi: core: Rework the code for dropping the LLD module reference drivers/scsi/esas2r/esas2r_main.c | 18 +++-- drivers/scsi/scsi_priv.h | 4 +- drivers/scsi/scsi_proc.c | 119 ++++++++++++++++++++++++++---- drivers/scsi/scsi_sysfs.c | 7 +- include/scsi/scsi_device.h | 1 + include/scsi/scsi_host.h | 18 ++--- 6 files changed, 126 insertions(+), 41 deletions(-)