Re: TPM.ko module rename (was tpm: Pull everything related to/dev/tpmX into tpm-dev.c)

From: Jason Gunthorpe
Date: Fri Oct 04 2013 - 12:28:23 EST


On Fri, Oct 04, 2013 at 05:50:01PM +0200, Peter H?we wrote:

> I'm not 100% sure what's the usual procedure for module renames, especially
> since this is visible in userspace.
>
> For users the easiest way would be to rename tpm.c to tpm-core.c and
> leave the module name as it is. In git that's just a simple rename
> operation.

I agree, keeping the old name seems much safer.

I'm thinking of following the pattern seen in RTC. Rename tpm.c to
tpm-interface.c and eventually migrate all the driver model support
items into tpm-class.c.

Does that seem good? I'll respin the patches and test modular rebuilds.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/