diff options
| author | Rob Herring <[email protected]> | 2023-04-05 20:27:22 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-04-06 18:36:27 +0000 |
| commit | 8edd49ce8da7b5c24e751c41e6bb882424b47fc5 (patch) | |
| tree | 5c9f409c1668894180c12e0cc3d690a19ca9a15c /drivers/fpga/altera-fpga2sdram.c | |
| parent | virtio-mmio: Add explicit include for of.h (diff) | |
| download | kernel-8edd49ce8da7b5c24e751c41e6bb882424b47fc5.tar.gz kernel-8edd49ce8da7b5c24e751c41e6bb882424b47fc5.zip | |
tpm: atmel: Add explicit include for of.h
With linux/acpi.h (in linux/tpm.h) no longer implicitly including of.h,
add an explicit include of of.h to fix the following errors:
drivers/char/tpm/tpm_atmel.h:50:14: error: implicit declaration of function 'of_find_node_by_name'; did you mean 'bus_find_device_by_name'? [-Werror=implicit-function-declaration]
drivers/char/tpm/tpm_atmel.h:50:12: error: assignment to 'struct device_node *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
drivers/char/tpm/tpm_atmel.h:55:14: error: implicit declaration of function 'of_device_is_compatible'; did you mean 'fwnode_device_is_compatible'? [-Werror=implicit-function-declaration]
...
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
