Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751413AbdGQNnS (ORCPT ); Mon, 17 Jul 2017 09:43:18 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:57741 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbdGQNnQ (ORCPT ); Mon, 17 Jul 2017 09:43:16 -0400 Date: Mon, 17 Jul 2017 15:43:09 +0200 From: Andrew Lunn To: sean.wang@mediatek.com Cc: john@phrozen.org, davem@davemloft.net, nbd@openwrt.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next v2 2/4] net-next: mediatek: add platform data to adapt into various hardware Message-ID: <20170717134309.GB30392@lunn.ch> References: <2987b7e3b40cfcd143b5da444c6722b5e92bc0b5.1500285278.git.sean.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2987b7e3b40cfcd143b5da444c6722b5e92bc0b5.1500285278.git.sean.wang@mediatek.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 310 Lines: 11 > const struct of_device_id of_mtk_match[] = { > - { .compatible = "mediatek,mt2701-eth" }, > + { .compatible = "mediatek,mt2701-eth", .data = &mt2701_data}, > + { .compatible = "mediatek,mt7623-eth", .data = &mt7623_data}, > {}, Hi Sean The binding document also lists "mediatek,mt7622-eth"? Andrew