Skip to content

Commit 933c9f1

Browse files
robherringrafaeljw
authored andcommitted
serial: 8250_tegra: Add explicit include for of.h
With linux/acpi.h no longer implicitly including of.h, add an explicit include of of.h to fix the following error: drivers/tty/serial/8250/8250_tegra.c:68:15: error: implicit declaration of function 'of_alias_get_id' [-Werror=implicit-function-declaration] Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 75c7124 commit 933c9f1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/tty/serial/8250/8250_tegra.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <linux/delay.h>
1212
#include <linux/io.h>
1313
#include <linux/module.h>
14+
#include <linux/of.h>
1415
#include <linux/reset.h>
1516
#include <linux/slab.h>
1617

0 commit comments

Comments
 (0)