OSDN Git Service

tpm: Revert tpm_tis_spi_mod.ko to tpm_tis_spi.ko.
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 4 Feb 2020 12:16:27 +0000 (14:16 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 17 Feb 2020 18:46:34 +0000 (20:46 +0200)
commitfaaca0a0d48e7b122f6e7e2521f4f6fc487d0451
tree59d6c784fd663861b5ea7c3d85847f0bdcf33a64
parent11a48a5a18c63fd7621bb050228cebf13566e4d8
tpm: Revert tpm_tis_spi_mod.ko to tpm_tis_spi.ko.

Revert tpm_tis_spi_mod.ko back to tpm_tis_spi.ko as the rename could
break user space scripts. This can be achieved by renaming tpm_tis_spi.c
as tpm_tis_spi_main.c. Then tpm_tis_spi-y can be used inside the
makefile.

Cc: Andrey Pronin <apronin@chromium.org>
Cc: Stephen Boyd <swboyd@chromium.org>
Cc: stable@vger.kernel.org # 5.5.x
Fixes: 797c0113c9a4 ("tpm: tpm_tis_spi: Support cr50 devices")
Reported-by: Alexander Steffen <Alexander.Steffen@infineon.com>
Tested-by: Alexander Steffen <Alexander.Steffen@infineon.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/Makefile
drivers/char/tpm/tpm_tis_spi_main.c [moved from drivers/char/tpm/tpm_tis_spi.c with 100% similarity]