Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3eda7d0e authored by Christophe Ricard's avatar Christophe Ricard Committed by Peter Huewe
Browse files

tpm/tpm_i2c_stm_st33: Change tpm_i2c_stm_st33.h to tpm_stm_st33.h



include/linux/platform_data/tpm_i2c_stm_st33.h can be used by other st33
tpm device driver not using i2c protocol.

Reviewed-by: default avatarJason Gunthorpe <jason.gunthorpe@obsidianresearch.com>
Signed-off-by: default avatarChristophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
parent 7b1ee96f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -50,7 +50,7 @@
#include <linux/of_irq.h>
#include <linux/of_irq.h>
#include <linux/of_gpio.h>
#include <linux/of_gpio.h>


#include <linux/platform_data/tpm_i2c_stm_st33.h>
#include <linux/platform_data/tpm_stm_st33.h>
#include "tpm.h"
#include "tpm.h"


#define TPM_ACCESS			0x0
#define TPM_ACCESS			0x0
+6 −6
Original line number Original line Diff line number Diff line
@@ -22,18 +22,18 @@
 *
 *
 * @Author: Christophe RICARD tpmsupport@st.com
 * @Author: Christophe RICARD tpmsupport@st.com
 *
 *
 * @File: stm_st33_tpm_i2c.h
 * @File: stm_st33_tpm.h
 *
 *
 * @Date: 09/15/2010
 * @Date: 09/15/2010
 */
 */
#ifndef __STM_ST33_TPM_I2C_MAIN_H__
#ifndef __STM_ST33_TPM_H__
#define __STM_ST33_TPM_I2C_MAIN_H__
#define __STM_ST33_TPM_H__



#define TPM_ST33_I2C			"st33zp24-i2c"
#define TPM_ST33_I2C			"st33zp24_i2c"
#define TPM_ST33_SPI			"st33zp24-spi"


struct st33zp24_platform_data {
struct st33zp24_platform_data {
	int io_lpcpd;
	int io_lpcpd;
};
};


#endif /* __STM_ST33_TPM_I2C_MAIN_H__ */
#endif /* __STM_ST33_TPM_H__ */