From patchwork Fri Aug 25 19:12:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 9922713 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A446A603FA for ; Fri, 25 Aug 2017 19:13:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9486028488 for ; Fri, 25 Aug 2017 19:13:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 892E228497; Fri, 25 Aug 2017 19:13:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7C120284BD for ; Fri, 25 Aug 2017 19:13:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=mcxKCilIQzBiJ3XcQnmKrnavQxBdSB+yOR8F19XvC3k=; b=GumOkgxtLfZU8oqGYsGwbK98EP LAM5pxAIEbAXSEe8oz1ifV/aI1zd54jqR61vNXP6as3v+D7hF8hOJ3G5XA+/EYpdKT6N0YRLHhZy1 sZBJKojxn/WfSJ7CdeG0H17NHRAunhg8lh6gItIdgyiqNfLo4XPZCH8e9e92EaDzajrHZ4vwqehh0 BNUcaaitlBc2BiDk47lm8IHrNIb03OiBTRuTLgF7AUxwNLuAiVQ18yrTV+K3FfGBMC0WsE2ZITMRa MhRo5FSrlobeEy3ZpJ+oWaA5fkPHOisyGSVnrwuHSzlOn69cIsajeAPFqmZAO/R6DGAIBRhAnE1fV 4FnI9lNA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dlK2K-0001dT-Fi; Fri, 25 Aug 2017 19:12:56 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dlK2G-0001VZ-Sa for linux-arm-kernel@lists.infradead.org; Fri, 25 Aug 2017 19:12:54 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 3163920962; Fri, 25 Aug 2017 21:12:33 +0200 (CEST) Received: from localhost (unknown [80.12.58.66]) by mail.free-electrons.com (Postfix) with ESMTPSA id DD4EC20901; Fri, 25 Aug 2017 21:12:22 +0200 (CEST) From: Maxime Ripard To: arm@kernel.org, davem@davemloft.net, Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 4/4] net: stmmac: sun8i: Remove the compatibles Date: Fri, 25 Aug 2017 21:12:17 +0200 Message-Id: <20170825191217.10278-5-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170825191217.10278-1-maxime.ripard@free-electrons.com> References: <20170825191217.10278-1-maxime.ripard@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170825_121253_098644_7996C8B0 X-CRM114-Status: GOOD ( 10.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@lunn.ch, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, clabbe.montjoie@gmail.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Since the bindings have been controversial, and we follow the DT stable ABI rule, we shouldn't let a driver with a DT binding that might change slip through in a stable release. Remove the compatibles to make sure the driver will not probe and no-one will start using the binding currently implemented. This commit will obviously need to be reverted in due time. Signed-off-by: Maxime Ripard --- drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c index fffd6d5fc907..39c2122a4f26 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c @@ -979,14 +979,6 @@ static int sun8i_dwmac_probe(struct platform_device *pdev) } static const struct of_device_id sun8i_dwmac_match[] = { - { .compatible = "allwinner,sun8i-h3-emac", - .data = &emac_variant_h3 }, - { .compatible = "allwinner,sun8i-v3s-emac", - .data = &emac_variant_v3s }, - { .compatible = "allwinner,sun8i-a83t-emac", - .data = &emac_variant_a83t }, - { .compatible = "allwinner,sun50i-a64-emac", - .data = &emac_variant_a64 }, { } }; MODULE_DEVICE_TABLE(of, sun8i_dwmac_match);