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

Commit c2dd3785 authored by Srinivas Ramana's avatar Srinivas Ramana Committed by Maria Yu
Browse files

ARM: dts: msm: Include gcc headers in needed dtsi files for msm8953



Include gcc headers in needed device tree dtsi files for msm8953
so that gcc clock define macro names can be used. While it also
include gpio headers so that gpio define macro names can be
used. Then it doesn't rely on other file to include necessary
header files, and can be compiled success both for overlay
and non-overlay device trees.

Change-Id: I14f7e49d1ec3001ba350efebb3376b3b33aa0ffb
Signed-off-by: default avatarSrinivas Ramana <sramana@codeaurora.org>
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent e3fae817
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@
 * GNU General Public License for more details.
 */

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/msm-clocks-8953.h>
#include "msm8953-audio-cdp.dtsi"

&blsp1_uart0 {
+3 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -11,6 +11,8 @@
 * GNU General Public License for more details.
 */

#include <dt-bindings/gpio/gpio.h>

&blsp1_uart0 {
	status = "ok";
	pinctrl-names = "default";
+3 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@
 * GNU General Public License for more details.
 */

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/msm-clocks-8953.h>

&blsp1_uart0 {
	status = "ok";
	pinctrl-names = "default";
+3 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@
 * GNU General Public License for more details.
 */

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/msm-clocks-8953.h>

&soc {
	i2c@78b7000 { /* BLSP1 QUP3 */
		/delete-node/ synaptics@4b;