[PATCH] powerpc/p5040: fix dtb build warning of p5040ds.dtb

Kumar Gala galak at kernel.crashing.org
Thu Sep 13 06:20:05 EST 2012


On Sep 12, 2012, at 5:36 AM, Shaohui Xie wrote:

> Device node adt7461 was wrongly added in p5040ds.dts, it should be added
> into i2c instead of localbus, when build p5040ds.dtb, a warning will dump:
> 
> Warning (reg_format): "reg" property in
> /localbus at ffe124000/nand at 2,0/adt7461 at 4c has invalid length (4 bytes)
> (#address-cells == 1, #size-cells == 1)
> 
> This was introduced by:
> 
> commit ea6b1ba692bcb5f6e39f409a78cf8b04fdf23baa
> Author: Jia Hongtao <B38951 at freescale.com>
> Date:   Tue Aug 28 10:00:55 2012 +0800
> 
>    powerpc: add adt7461 thermal monitor support to applicable boards
> 
>    Add thermal monitor support to following boards:
>    P1022DS, MPC8536DS, P2041RDB, P3041DS, P4080DS, P5020DS, P5040DS
> 
> Signed-off-by: Shaohui Xie <Shaohui.Xie at freescale.com>
> ---
> based on next branch of http://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git
> 
> arch/powerpc/boot/dts/p5040ds.dts |    8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)

applied to next

- k


More information about the Linuxppc-dev mailing list