diff options
Diffstat (limited to 'kernel/drivers/char/tpm/st33zp24')
-rw-r--r-- | kernel/drivers/char/tpm/st33zp24/Kconfig | 2 | ||||
-rw-r--r-- | kernel/drivers/char/tpm/st33zp24/i2c.c | 1 | ||||
-rw-r--r-- | kernel/drivers/char/tpm/st33zp24/spi.c | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/kernel/drivers/char/tpm/st33zp24/Kconfig b/kernel/drivers/char/tpm/st33zp24/Kconfig index 09cb72786..19c007461 100644 --- a/kernel/drivers/char/tpm/st33zp24/Kconfig +++ b/kernel/drivers/char/tpm/st33zp24/Kconfig @@ -1,6 +1,6 @@ config TCG_TIS_ST33ZP24 tristate "STMicroelectronics TPM Interface Specification 1.2 Interface" - depends on GPIOLIB + depends on GPIOLIB || COMPILE_TEST ---help--- STMicroelectronics ST33ZP24 core driver. It implements the core TPM1.2 logic and hooks into the TPM kernel APIs. Physical layers will diff --git a/kernel/drivers/char/tpm/st33zp24/i2c.c b/kernel/drivers/char/tpm/st33zp24/i2c.c index ad1ee180e..309d2767c 100644 --- a/kernel/drivers/char/tpm/st33zp24/i2c.c +++ b/kernel/drivers/char/tpm/st33zp24/i2c.c @@ -258,7 +258,6 @@ static SIMPLE_DEV_PM_OPS(st33zp24_i2c_ops, st33zp24_pm_suspend, static struct i2c_driver st33zp24_i2c_driver = { .driver = { - .owner = THIS_MODULE, .name = TPM_ST33_I2C, .pm = &st33zp24_i2c_ops, .of_match_table = of_match_ptr(of_st33zp24_i2c_match), diff --git a/kernel/drivers/char/tpm/st33zp24/spi.c b/kernel/drivers/char/tpm/st33zp24/spi.c index f0184a1b0..f974c945c 100644 --- a/kernel/drivers/char/tpm/st33zp24/spi.c +++ b/kernel/drivers/char/tpm/st33zp24/spi.c @@ -381,7 +381,6 @@ static SIMPLE_DEV_PM_OPS(st33zp24_spi_ops, st33zp24_pm_suspend, static struct spi_driver tpm_st33_spi_driver = { .driver = { - .owner = THIS_MODULE, .name = TPM_ST33_SPI, .pm = &st33zp24_spi_ops, .of_match_table = of_match_ptr(of_st33zp24_spi_match), |