[PATCH linux 2/2] arm: dts: unit address should not have 0x prefix

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Feb 11 12:30:28 AEDT 2016


From: "Milton D. Miller II" <miltonm at us.ibm.com>

The implied format for most bus bindings implies the uname-address
part of the unit-name should be in hex without a leading 0x.

Fix the one i2c bus that did not follow this convention.

Signed-off-by: Milton Miller <miltonm at us.ibm.com>
---
 arch/arm/boot/dts/ast2400.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/ast2400.dtsi b/arch/arm/boot/dts/ast2400.dtsi
index de816a9..49516fd 100644
--- a/arch/arm/boot/dts/ast2400.dtsi
+++ b/arch/arm/boot/dts/ast2400.dtsi
@@ -159,7 +159,7 @@
 					interrupts = <4>;
 				};
 
-				i2c5: i2c-bus at 0x180 {
+				i2c5: i2c-bus at 180 {
 					#address-cells = <1>;
 					#size-cells = <0>;
 					reg = <0x180 0x40>;
-- 
2.7.1




More information about the openbmc mailing list