Re: [PATCH v2 08/10] tpm/tpm_i2c_stm_st33: Split tpm_i2c_tpm_st33 in 2 layers (core + phy)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am Dienstag, 13. Januar 2015, 23:13:16 schrieb Christophe Ricard:
> tpm_i2c_stm_st33 is a TIS 1.2 TPM with a core interface which can be used
> by different phy such as i2c or spi. The core part is called st33zp24 which
> is also the main part reference.
> 
> include/linux/platform_data/tpm_stm_st33.h is renamed consequently.
> The driver is also split into an i2c phy in charge of sending/receiving
> data as well as managing platform data or dts configuration.
> 
> Reviewed-by: Jasob Gunthorpe <jason.gunthorpe@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Christophe Ricard <christophe-h.ricard@xxxxxx>


Fails to link for me ;(

 make -j24 
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  LD      drivers/char/tpm/built-in.o
  CC [M]  drivers/char/tpm/tpm-interface.o
  CHK     kernel/config_data.h
  CC [M]  drivers/char/tpm/tpm-dev.o
  CC [M]  drivers/char/tpm/tpm-sysfs.o
  CC [M]  drivers/char/tpm/tpm-chip.o
  CC [M]  drivers/char/tpm/tpm2-cmd.o
  CC [M]  drivers/char/tpm/tpm_ppi.o
  CC [M]  drivers/char/tpm/tpm_acpi.o
  CC [M]  drivers/char/tpm/tpm_eventlog.o
  CC [M]  drivers/char/tpm/tpm_tis.o
  CC [M]  drivers/char/tpm/tpm_i2c_infineon.o
  CC [M]  drivers/char/tpm/tpm_i2c_atmel.o
  CC [M]  drivers/char/tpm/tpm_i2c_nuvoton.o
  CC [M]  drivers/char/tpm/tpm_atmel.o
  CC [M]  drivers/char/tpm/tpm_nsc.o
  CC [M]  drivers/char/tpm/tpm_infineon.o
  CC [M]  drivers/char/tpm/tpm_crb.o
  LD      drivers/char/tpm/st33zp24/built-in.o
  CC [M]  drivers/char/tpm/st33zp24/st33zp24.o
  CC [M]  drivers/char/tpm/st33zp24/i2c.o
  CC [M]  drivers/char/tpm/st33zp24/spi.o
  LD [M]  drivers/char/tpm/tpm.o
  LD [M]  drivers/char/tpm/st33zp24/tpm_st33zp24_i2c.o
  LD [M]  drivers/char/tpm/st33zp24/tpm_st33zp24_spi.o
  LD [M]  drivers/char/tpm/st33zp24/tpm_st33zp24.o
  Building modules, stage 2.
Kernel: arch/x86/boot/bzImage is ready  (#195)
  MODPOST 817 modules
ERROR: "st33zp24_probe" [drivers/char/tpm/st33zp24/tpm_st33zp24_spi.ko] 
undefined!
ERROR: "st33zp24_pm_suspend" [drivers/char/tpm/st33zp24/tpm_st33zp24_spi.ko] 
undefined!
ERROR: "st33zp24_remove" [drivers/char/tpm/st33zp24/tpm_st33zp24_spi.ko] 
undefined!
ERROR: "st33zp24_pm_resume" [drivers/char/tpm/st33zp24/tpm_st33zp24_spi.ko] 
undefined!
ERROR: "st33zp24_probe" [drivers/char/tpm/st33zp24/tpm_st33zp24_i2c.ko] 
undefined!
ERROR: "st33zp24_pm_suspend" [drivers/char/tpm/st33zp24/tpm_st33zp24_i2c.ko] 
undefined!
ERROR: "st33zp24_remove" [drivers/char/tpm/st33zp24/tpm_st33zp24_i2c.ko] 
undefined!
ERROR: "st33zp24_pm_resume" [drivers/char/tpm/st33zp24/tpm_st33zp24_i2c.ko] 
undefined!
scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[1]: *** [__modpost] Error 1
Makefile:1099: recipe for target 'modules' failed
make: *** [modules] Error 2


Peter
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux