projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: clean up OF_CONTROL ifdef conditionals
[platform/kernel/u-boot.git]
/
drivers
/
tpm
/
tpm_tis_i2c.c
diff --git
a/drivers/tpm/tpm_tis_i2c.c
b/drivers/tpm/tpm_tis_i2c.c
index
ee4dfea
..
cc740e9
100644
(file)
--- a/
drivers/tpm/tpm_tis_i2c.c
+++ b/
drivers/tpm/tpm_tis_i2c.c
@@
-585,7
+585,7
@@
static struct tpm_vendor_specific tpm_tis_i2c = {
static enum i2c_chip_type tpm_vendor_chip_type(void)
{
-#if
def CONFIG_OF_CONTROL
+#if
CONFIG_IS_ENABLED(OF_CONTROL)
const void *blob = gd->fdt_blob;
if (fdtdec_next_compatible(blob, 0, COMPAT_INFINEON_SLB9645_TPM) >= 0)