Re: [PATCH v3 1/9] ufs: sysfs: device descriptor

From: Bart Van Assche
Date: Tue Jan 02 2018 - 10:08:36 EST


On Tue, 2018-01-02 at 13:54 +0000, Stanislav Nijnikov wrote:
> The existing configuration doesn't allow to add a new file to be compiled
> as a part of this module. The line like " obj-$(CONFIG_SCSI_UFSHCD) +=
> ufshcd.o ufs-sysfs.o" in the makefile will actually create 2 modules.
> This was the reason why I used EXPORT_SYMBOL in the first version.

There are plenty of kernel modules that consist of multiple source files, e.g.
the SCSI core. Please make yourself familiar with how to do this.

Thanks,

Bart.