[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200901.153419.1567972938274024697.davem@davemloft.net>
Date: Tue, 01 Sep 2020 15:34:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: andrew@...n.ch
Cc: netdev@...r.kernel.org, andy.shevchenko@...il.com
Subject: Re: [PATCH net-next] net: dsa: mv88e6xxx: Fix W=1 warning with
!CONFIG_OF
From: Andrew Lunn <andrew@...n.ch>
Date: Tue, 1 Sep 2020 04:32:57 +0200
> When building on platforms without device tree, e.g. amd64, W=1 gives
> a warning about mv88e6xxx_mdio_external_match being unused. Replace
> of_match_node() with of_device_is_compatible() to prevent this
> warning.
>
> Suggested-by: Andy Shevchenko <andy.shevchenko@...il.com>
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
Applied, thanks Andrew.
Powered by blists - more mailing lists