OSDN Git Service

staging: mt7621-dts: avoid warnings in pinctrl definitions
authorNeilBrown <neil@brown.name>
Sun, 9 Dec 2018 05:20:33 +0000 (16:20 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Dec 2018 10:55:39 +0000 (11:55 +0100)
commit99c22707ef647f692b6beb274fed2b6893955a3a
treea98665a0aac37184ed1d14a87f31b0bdf7810e15
parentd17f5ff7713f9be7da820f4295e35d1862b3eb29
staging: mt7621-dts: avoid warnings in pinctrl definitions

The device-tree checking code sees node names  "i2c" and "spi" in the
pinctrl definition and thinks these are defining i2c or spi devices,
and complains that they look wrong.

So add a '0' to the end of each name (much like "uart" and "rgmii"
have numbers at the end) to avoid the warning.

Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/mt7621.dtsi